[Codestriker-commits] CVS update: codestriker/template/en/default viewtopicproperties.html.tmpl
Brought to you by:
sits
|
From: <si...@us...> - 2008-02-23 02:22:02
|
User: sits
Date: 08/02/22 18:21:58
Modified: template/en/default viewtopicproperties.html.tmpl
Log:
From Rob: don't allow bug id field to be changed if used to create topic.
Index: viewtopicproperties.html.tmpl
===================================================================
RCS file: /cvsroot/codestriker/codestriker/template/en/default/viewtopicproperties.html.tmpl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- viewtopicproperties.html.tmpl 10 Aug 2006 11:29:05 -0000 1.24
+++ viewtopicproperties.html.tmpl 23 Feb 2008 02:21:57 -0000 1.25
@@ -78,8 +78,9 @@
<tr class="tt1">
<td>Bug IDs:</td>
<td>
+ [%# Set to readonly if topic generated from BugIDs #%]
<input type="text" name="bug_ids" value="[% bug_ids %]"
- size="30" maxlength="50" [% IF topic_readonly != 0 %]readonly[% END %] />
+ size="30" maxlength="50" [% IF topic_readonly != 0 || (start_tag == '' && end_tag == '' && module == '') %]readonly[% END %] />
Links:
[% FOREACH bug = bug_id_array %]
[% IF loop.count() != 1 %], [% END %]
|