Changeset - 2c1ae0b188ae
[Not reviewed]
default
0 3 0
Mads Kiilerich - 10 years ago 2015-05-27 23:15:36
madski@unity3d.com
templates: whitespace/linebreak cleanup around "remote URL"

Minimize the diff from
http://lists.sfconservancy.org/pipermail/kallithea-general/2015q2/000710.html
so it more easily can be reviewed.
3 files changed with 14 insertions and 4 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/repos/repo_add_base.html
Show inline comments
 
@@ -11,7 +11,10 @@ ${h.form(url('repos'))}
 
            <div class="input">
 
                ${h.text('repo_name',class_="small")}
 
                <div style="margin: 6px 0px 0px 0px">
 
                    <a id="remote_clone_toggle" href="#"><i class="icon-download-cloud"></i> ${_('Import existing repository ?')}</a>
 
                    <a id="remote_clone_toggle" href="#">
 
                        <i class="icon-download-cloud"></i>
 
                        ${_('Import existing repository ?')}
 
                    </a>
 
                </div>
 
                %if not c.authuser.is_admin:
 
                    ${h.hidden('user_created',True)}
 
@@ -24,7 +27,9 @@ ${h.form(url('repos'))}
 
            </div>
 
            <div class="input">
 
                ${h.text('clone_uri',class_="small")}
 
                <span class="help-block">${_('Optional URL from which repository should be cloned.')}</span>
 
                <span class="help-block">
 
                    ${_('Optional URL from which repository should be cloned.')}
 
                </span>
 
            </div>
 
        </div>
 
        <div class="field">
kallithea/templates/admin/repos/repo_edit_remote.html
Show inline comments
 
@@ -5,7 +5,10 @@
 
${h.form(url('edit_repo_remote', repo_name=c.repo_name), method='put')}
 
<div class="form">
 
   <div class="fields">
 
       ${h.submit('remote_pull_%s' % c.repo_info.repo_name,_('Pull Changes from Remote Location'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to pull changes from remote side.')+"');")}
 
        ${h.submit('remote_pull_%s' % c.repo_info.repo_name,
 
            _('Pull Changes from Remote Location'),
 
            class_="btn btn-small",
 
            onclick="return confirm('"+_('Confirm to pull changes from remote side.')+"');")}
 
   </div>
 
</div>
 
${h.end_form()}
kallithea/templates/admin/repos/repo_edit_settings.html
Show inline comments
 
@@ -34,7 +34,9 @@ ${h.form(url('repo', repo_name=c.repo_in
 
                    ${h.text('clone_uri',class_="medium")}
 
                    ${h.hidden('clone_uri_change', 'NEW')}
 
                   %endif
 
                 <span id="alter_clone_uri_help_block" class="help-block">${_('URL used for doing remote pulls.')}</span>
 
                  <span id="alter_clone_uri_help_block" class="help-block">
 
                      ${_('URL used for doing remote pulls.')}
 
                  </span>
 
               </div>
 
            </div>
 
            <div class="field">
0 comments (0 inline, 0 general)