Changeset - 6e1bd83552d8
[Not reviewed]
default
0 3 0
Ben Finney - 11 years ago 2015-04-22 01:55:46
ben@benfinney.id.au
Refer to “remote repository” and “clone” consistently in templates.

Modified by Mads Kiilerich.
3 files changed with 8 insertions and 8 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/repos/repo_add_base.html
Show inline comments
 
@@ -14,12 +14,12 @@ ${h.form(url('repos'))}
 
         </div>
 
        <div id="remote_clone" class="field">
 
            <div class="label">
 
                <label for="clone_uri">${_('Clone from')}:</label>
 
                <label for="clone_uri">${_('Clone remote repository')}:</label>
 
            </div>
 
            <div class="input">
 
                ${h.text('clone_uri',class_="small")}
 
                <span class="help-block">
 
                    ${_('Optional URL from which repository should be cloned.')}
 
                    ${_('Optional: URL of a remote repository. If set, the repository will be created as a clone from this URL.')}
 
                </span>
 
            </div>
 
        </div>
kallithea/templates/admin/repos/repo_edit_remote.html
Show inline comments
 
%if c.repo_info.clone_uri:
 
<div style="font-size: 20px; padding: 0px 0px 10px 0px">
 
   ${_('Remote URL')}: <a href="${c.repo_info.clone_uri}">${c.repo_info.clone_uri_hidden}</a></li>
 
   ${_('Remote repository URL')}: <a href="${c.repo_info.clone_uri}">${c.repo_info.clone_uri_hidden}</a></li>
 
</div>
 
${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'),
 
            _('Pull Changes from Remote Repository'),
 
            class_="btn btn-small",
 
            onclick="return confirm('"+_('Confirm to pull changes from remote side.')+"');")}
 
            onclick="return confirm('"+_('Confirm to pull changes from remote repository.')+"');")}
 
    </div>
 
</div>
 
${h.end_form()}
 
%else:
 
  <div style="font-size: 20px">
 
    ${_('This repository does not have a remote URL set.')}
 
    ${_('This repository does not have a remote repository URL.')}
 
  </div>
 
%endif
kallithea/templates/admin/repos/repo_edit_settings.html
Show inline comments
 
@@ -18,7 +18,7 @@ ${h.form(url('repo', repo_name=c.repo_in
 
            </div>
 
            <div class="field">
 
                <div class="label">
 
                    <label for="clone_uri">${_('Clone URL')}:</label>
 
                    <label for="clone_uri">${_('Remote repository')}:</label>
 
                </div>
 
                <div class="input">
 
                  %if c.repo_info.clone_uri:
 
@@ -35,7 +35,7 @@ ${h.form(url('repo', repo_name=c.repo_in
 
                    ${h.hidden('clone_uri_change', 'NEW')}
 
                  %endif
 
                  <span id="alter_clone_uri_help_block" class="help-block">
 
                      ${_('URL used for doing remote pulls.')}
 
                    ${_('Optional: URL of a remote repository. If set, the repository can be pulled from this URL.')}
 
                  </span>
 
                </div>
 
            </div>
0 comments (0 inline, 0 general)