Hydra/20: Jobset clone feature
This commit is contained in:
18
src/root/clone-jobset.tt
Normal file
18
src/root/clone-jobset.tt
Normal file
@ -0,0 +1,18 @@
|
||||
[% WRAPPER layout.tt title="Clone Jobset" %]
|
||||
[% PROCESS common.tt %]
|
||||
[% USE HTML %]
|
||||
[% edit=1 %]
|
||||
|
||||
<form action="[% c.uri_for('/jobset' jobset.project.name jobset.name 'clone' 'submit') %]" method="post">
|
||||
|
||||
<h2>Cloning jobset [% jobset.project.name %]:[% jobset.name %]</h2>
|
||||
<p>
|
||||
Name <tt><input type="text" class="string" name="newjobset" [% HTML.attributes(value => "") %] /></tt>
|
||||
</p>
|
||||
<p>
|
||||
<button type="submit">Next</button>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
[% END %]
|
@ -151,7 +151,13 @@
|
||||
[% END %]
|
||||
[% END %]
|
||||
<div id="tabs-setup">
|
||||
<h2>Information[% IF !edit %] <a class="smallLink" href="[% c.uri_for('/jobset' project.name jobset.name 'edit') %]">[Edit]</a>[% END %]</h2>
|
||||
<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 %]
|
||||
|
Reference in New Issue
Block a user