Branch: refs/heads/master
Home: https://github.com/NixOS/hydra
Commit: 4399683fa0e9abb64f63affc7caca7f77abea1b7
https://github.com/NixOS/hydra/commit/4399683fa0e9abb64f63affc7caca7f77abea1b7
Author: Ludovic Courtès <[email protected]>
Date: 2012-04-16 (Mon, 16 Apr 2012)
Changed paths:
M src/root/jobset.tt
Log Message:
-----------
Reinstate the edit/clone links on the jobset page.
They were removed in commit 17d30cd1790d2c1b46c833056387186253cac441.
diff --git a/src/root/jobset.tt b/src/root/jobset.tt
index 66f2bad..7520521 100644
--- a/src/root/jobset.tt
+++ b/src/root/jobset.tt
@@ -130,6 +130,12 @@
<div id="tabs-setup" class="tab-pane [% IF edit %]active[% END
%]">
<h2>Information</h2>
+ [% IF !edit && c.user_exists %]
+ <p>
+ [ <a href="[% c.uri_for('/jobset' project.name
jobset.name 'edit') %]">Edit</a> | <a href="[% c.uri_for('/jobset' project.name
jobset.name 'clone') %]">Clone</a> ]
+ </p>
+ [% END %]
+
<table class="layoutTable">
[% IF edit %]
<tr>
================================================================
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits