Code

56cfe1b67c7092109908a047de3ae2dc1b796f5a
[gosa.git] / gosa-plugins / fai / admin / fai / branch_selector.tpl
1  <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
2     <p class="contentboxh">{image path="{$branchimage}" align="right"}{t}Releases{/t}
3 </p>
4    </div>
5    <div class="contentboxb">
6         <table style='width:100%;' summary="">
8      <tr>
9       <td>
10     {t}Current release{/t}&nbsp;
11     <select name="fai_release" onChange="document.mainform.submit();" size=1>
12         {html_options output=$fai_releases values=$fai_releases selected=$fai_release}
13     </select>
14       </td>
15      </tr>
16         </table>
17         <table summary="" style="width:100%;">
18      <tr>
19       <td>
20     {if $allow_create}
21         {image path="plugins/fai/images/branch_small.png" action="branch_branch"}
23         <a href="?plug={$plug_id}&act=branch_branch">{t}Create release{/t}</a>
24         <br>
25         {image path="plugins/fai/images/freeze.png" action="freeze_branch"}
27                 <a href="?plug={$plug_id}&act=freeze_branch">{t}Create read-only release{/t}</a>
28     {else}
29         {image path="plugins/fai/images/branch_small_grey.png"}
31         {t}Create release{/t}
32         <br>
33         {image path="plugins/fai/images/freeze_grey.png"}
35                 {t}Create read-only release{/t}
36     {/if}
38     {if $fai_release != $fai_base && $allow_remove}
39     <br>
40         {image path="images/lists/trash.png" action="remove_branch"}
42             <a href="?plug={$plug_id}&act=remove_branch">{t}Delete current release{/t}</a>
43     {/if}
44       </td>
45      </tr>
46    </table>
47    </div>
48 <br>