diff rhodecode/templates/admin/repos/repo_edit.html @ 2459:9492ab68331f beta

Initial version of landing revisions ref #483 - fixed relevant tests for creation of repo - added some tests for git
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 14 Jun 2012 23:19:26 +0200
parents e82c04f52b9f
children 015a42e970a6
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repo_edit.html	Thu Jun 14 13:32:58 2012 +0200
+++ b/rhodecode/templates/admin/repos/repo_edit.html	Thu Jun 14 23:19:26 2012 +0200
@@ -62,6 +62,15 @@
                 </div>
             </div>
             <div class="field">
+                <div class="label">
+                    <label for="landing_rev">${_('Landing revision')}:</label>
+                </div>
+                <div class="input">
+                    ${h.select('landing_rev','',c.landing_revs,class_="medium")}
+                    <span class="help-block">${_('Default revision for files page, downloads, whoosh and readme')}</span>
+                </div>
+            </div>            
+            <div class="field">
                 <div class="label label-textarea">
                     <label for="description">${_('Description')}:</label>
                 </div>
@@ -210,7 +219,7 @@
         </div>
         ${h.end_form()}
 
-        <h3>${_('Set as fork')}</h3>
+        <h3>${_('Set as fork of')}</h3>
         ${h.form(url('repo_as_fork', repo_name=c.repo_info.repo_name),method='put')}
         <div class="form">
            <div class="fields">
@@ -219,7 +228,7 @@
            </div>
                <div class="field" style="border:none;color:#888">
                <ul>
-                    <li>${_('''Manually set this repository as a fork of another''')}</li>
+                    <li>${_('''Manually set this repository as a fork of another from the list''')}</li>
                </ul>
                </div>
         </div>