aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-07 16:18:02 +0000
committerlpsolit%gmail.com <>2007-04-07 16:18:02 +0000
commit49ac4e07d266ab55285e6c497cab5d17c56e8fcf (patch)
treeae498e7b437fb2acf727143eb840dc116248ffd7 /template
parentb1710c8f53ed757f1c06e84e4c2790832232c58f (diff)
downloadbugs-49ac4e07d266ab55285e6c497cab5d17c56e8fcf.tar
bugs-49ac4e07d266ab55285e6c497cab5d17c56e8fcf.tar.gz
bugs-49ac4e07d266ab55285e6c497cab5d17c56e8fcf.tar.bz2
bugs-49ac4e07d266ab55285e6c497cab5d17c56e8fcf.tar.xz
bugs-49ac4e07d266ab55285e6c497cab5d17c56e8fcf.zip
Bug 102622: Dependency graphs should be able to be limited by "relationship" - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/dependency-graph.html.tmpl47
1 files changed, 22 insertions, 25 deletions
diff --git a/template/en/default/bug/dependency-graph.html.tmpl b/template/en/default/bug/dependency-graph.html.tmpl
index 5c1eb8471..5ae858569 100644
--- a/template/en/default/bug/dependency-graph.html.tmpl
+++ b/template/en/default/bug/dependency-graph.html.tmpl
@@ -64,42 +64,39 @@
<hr>
-<form action="showdependencygraph.cgi">
+<form action="showdependencygraph.cgi" method="GET">
<table>
<tr>
+ <th align="left"><label for="id">[% terms.Bug %] numbers</label>:</th>
+ <td><input id="id" name="id" value="[% bug_id %]"></td>
<td>
- [% terms.Bug %] numbers:
- <input name="id" value="[% bug_id %]">
+ <input type="checkbox" id="showsummary" name="showsummary" [% " checked" IF showsummary %]>
+ <label for="showsummary">Show the summaries of all displayed [% terms.bugs %]</label>
</td>
</tr>
<tr>
- <td>
- <input type="checkbox" name="doall"
- [% " checked" IF doall %]>
- Show <b>every</b> [% terms.bug %] in the system with dependencies
- </td>
- </tr>
-
- <tr>
- <td colspan="3">
- <input type="checkbox" name="showsummary"
- [% " checked" IF showsummary %]>
- Show the summaries of all displayed [% terms.bugs %]
+ <th align="left"><label for="display">Display:</label></th>
+ <td colspan="2">
+ <select id="display" name="display">
+ <option value="tree"[% 'selected="selected"' IF (!display || display == "tree") %]>
+ Restrict to [% terms.bugs %] having a direct relationship with entered [% terms.bugs %]</option>
+ <option value="web" [% 'selected="selected"' IF display == "web" %]>
+ Show all [% terms.bugs %] having any relationship with entered [% terms.bugs %]</option>
+ <option value="doall" [% 'selected="selected"' IF display == "doall" %]>
+ Show every [% terms.bug %] in the system with dependencies</option>
+ </select>
</td>
</tr>
<tr>
- <td colspan="3">
- <select name="rankdir">
- <option value="TB"
- [% " selected" IF rankdir == "TB" %]>
- Orient top-to-bottom
- </option>
- <option value="LR"
- [% " selected" IF rankdir == "LR" %]>
- Orient left-to-right
- </option>
+ <th align="left"><label for="rankdir">Orientation:</label></th>
+ <td colspan="2">
+ <select id="rankdir" name="rankdir">
+ <option value="TB"[% " selected" IF rankdir == "TB" %]>Top to bottom</option>
+ <option value="BT"[% " selected" IF rankdir == "BT" %]>Bottom to top</option>
+ <option value="LR"[% " selected" IF rankdir == "LR" %]>Left to right</option>
+ <option value="RL"[% " selected" IF rankdir == "RL" %]>Right to left</option>
</select>
</td>
</tr>