Add links to the project/jobset edit pages in the logical place

This commit is contained in:
Eelco Dolstra 2013-02-21 14:19:34 +01:00
parent fec45d1f07
commit 26fa9ea0ea
2 changed files with 3 additions and 1 deletions

View file

@ -121,6 +121,8 @@
<div id="tabs-setup" class="tab-pane"> <div id="tabs-setup" class="tab-pane">
<a class="btn pull-right" href="[% c.uri_for('/jobset' project.name jobset.name "edit") %]"><i class="icon-edit"></i> Edit</a>
<table class="info-table"> <table class="info-table">
<tr> <tr>
<th>Description:</th> <th>Description:</th>

View file

@ -79,6 +79,7 @@
</div> </div>
<div id="tabs-settings" class="tab-pane"> <div id="tabs-settings" class="tab-pane">
<a class="btn pull-right" href="[% c.uri_for('/project' project.name "edit") %]"><i class="icon-edit"></i> Edit</a>
<table class="info-table"> <table class="info-table">
<tr> <tr>
<th>Display name:</th> <th>Display name:</th>
@ -157,7 +158,6 @@
[% FOREACH view IN views %] [% FOREACH view IN views %]
<li> <li>
<a href="[% c.uri_for('/view' project.name view.name) %]"><tt>[% view.name %]</tt></a> <a href="[% c.uri_for('/view' project.name view.name) %]"><tt>[% view.name %]</tt></a>
<a class="btn btn-mini" href="[% c.uri_for('/view' project.name view.name "edit") %]">Edit</a>
</li> </li>
[% END %] [% END %]
</ul> </ul>