##// END OF EJS Templates
issue-trackers: fixed missing save to get back to inherited settings.
dan -
r4208:9302298e stable
parent child Browse files
Show More
@@ -23,43 +23,48 b''
23 23 <div class="panel-heading">
24 24 <h3 class="panel-title">${_('Inherited Issue Tracker Patterns')}</h3>
25 25 </div>
26
26 27 <div class="panel-body">
27 <table class="rctable issuetracker readonly">
28 <tr>
29 <th>${_('Description')}</th>
30 <th>${_('Pattern')}</th>
31 <th>${_('Url')}</th>
32 <th>${_('Prefix')}</th>
33 <th ></th>
34 </tr>
35 %for uid, entry in c.global_patterns.items():
36 <tr id="${uid}">
37 <td class="td-description issuetracker_desc">
38 <span class="entry">
39 ${entry.desc}
40 </span>
41 </td>
42 <td class="td-regex issuetracker_pat">
43 <span class="entry">
44 ${entry.pat}
45 </span>
46 </td>
47 <td class="td-url issuetracker_url">
48 <span class="entry">
49 ${entry.url}
50 </span>
51 </td>
52 <td class="td-prefix issuetracker_pref">
53 <span class="entry">
54 ${entry.pref}
55 </span>
56 </td>
57 <td class="td-action">
58 </td>
59 </tr>
60 %endfor
28 <table class="rctable issuetracker readonly">
29 <tr>
30 <th>${_('Description')}</th>
31 <th>${_('Pattern')}</th>
32 <th>${_('Url')}</th>
33 <th>${_('Prefix')}</th>
34 <th></th>
35 </tr>
61 36
62 </table>
37 % for uid, entry in c.global_patterns.items():
38 <tr id="${uid}">
39 <td class="td-description issuetracker_desc">
40 <span class="entry">
41 ${entry.desc}
42 </span>
43 </td>
44 <td class="td-regex issuetracker_pat">
45 <span class="entry">
46 ${entry.pat}
47 </span>
48 </td>
49 <td class="td-url issuetracker_url">
50 <span class="entry">
51 ${entry.url}
52 </span>
53 </td>
54 <td class="td-prefix issuetracker_pref">
55 <span class="entry">
56 ${entry.pref}
57 </span>
58 </td>
59 <td class="td-action">
60 </td>
61 </tr>
62 % endfor
63
64 </table>
65 <div class="buttons">
66 <button type="submit" class="btn btn-primary save-inheritance" id="save">${_('Save')}</button>
67 </div>
63 68 </div>
64 69 </div>
65 70 </div>
@@ -77,7 +82,6 b''
77 82 )}
78 83 <div class="buttons">
79 84 <button type="submit" class="btn btn-primary save-inheritance" id="save">${_('Save')}</button>
80 <button type="reset" class="btn reset-inheritance">${_('Reset')}</button>
81 85 </div>
82 86 </div>
83 87 </div>
General Comments 0
You need to be logged in to leave comments. Login now