##// END OF EJS Templates
merge 1.3 into stable
merge 1.3 into stable

File last commit:

r1981:518f8791 beta
r2031:82a88013 merge default
Show More
repo_edit.html
224 lines | 8.3 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Edit repository')} ${c.repo_info.repo_name} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Repositories'),h.url('repos'))}
renamed project to rhodecode
r547 &raquo;
Changes for repo groups
r1159 ${_('edit')} &raquo; ${h.link_to(c.repo_info.just_name,h.url('summary_home',repo_name=c.repo_name))}
renamed project to rhodecode
r547 </%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
Code refactor for auth func, preparing for ldap support...
r699 <div class="box box-left">
renamed project to rhodecode
r547 <!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </div>
${h.form(url('repo', repo_name=c.repo_info.repo_name),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="repo_name">${_('Name')}:</label>
</div>
Small templates update
r703 <div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.text('repo_name',class_="medium")}
renamed project to rhodecode
r547 </div>
#109, added optional clone uri when creating repo....
r1112 </div>
<div class="field">
<div class="label">
<label for="clone_uri">${_('Clone uri')}:</label>
</div>
<div class="input">
Changes for repo groups
r1159 ${h.text('clone_uri',class_="medium")}
#109, added optional clone uri when creating repo....
r1112 </div>
White-space cleanup
r1888 </div>
#109, added optional clone uri when creating repo....
r1112 <div class="field">
<div class="label">
<label for="repo_group">${_('Repository group')}:</label>
</div>
<div class="input">
${h.select('repo_group','',c.repo_groups,class_="medium")}
</div>
White-space cleanup
r1888 </div>
extended repo creation by repo type. fixed fork creation to maintain repo type.
r659 <div class="field">
<div class="label">
<label for="repo_type">${_('Type')}:</label>
</div>
<div class="input">
Code refactor for auth func, preparing for ldap support...
r699 ${h.select('repo_type','hg',c.backends,class_="medium")}
extended repo creation by repo type. fixed fork creation to maintain repo type.
r659 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
<div class="label label-textarea">
<label for="description">${_('Description')}:</label>
</div>
<div class="textarea text-area editor">
${h.textarea('description',cols=23,rows=5)}
</div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label label-checkbox">
<label for="private">${_('Private')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('private',value="True")}
</div>
</div>
fixes #62, added option to disable statistics for each repository
r810 <div class="field">
<div class="label label-checkbox">
<label for="enable_statistics">${_('Enable statistics')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('enable_statistics',value="True")}
</div>
White-space cleanup
r1888 </div>
implemented #84 downloads can be enabled/disabled per each repository from now.
r962 <div class="field">
<div class="label label-checkbox">
<label for="enable_downloads">${_('Enable downloads')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('enable_downloads',value="True")}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
fixed bug when autocomplete could not display names (hidden by div)...
r581 <div class="label">
renamed project to rhodecode
r547 <label for="user">${_('Owner')}:</label>
</div>
<div class="input input-small ac">
<div class="perm_ac">
${h.text('user',class_='yui-ac-input')}
<div id="owner_container"></div>
</div>
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="input">${_('Permissions')}:</label>
</div>
<div class="input">
#56 added ajax removal of users groups,...
r1015 <%include file="repo_edit_perms.html"/>
</div>
White-space cleanup
r1888
code cleanup
r1961 <div class="buttons">
${h.submit('save','Save',class_="ui-button")}
${h.reset('reset','Reset',class_="ui-button")}
</div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
</div>
Code refactor for auth func, preparing for ldap support...
r699
<div class="box box-right">
<div class="title">
White-space cleanup
r1888 <h5>${_('Administration')}</h5>
Code refactor for auth func, preparing for ldap support...
r699 </div>
White-space cleanup
r1888
added cache reset, stats reset, and delete into repository settings in admin....
r708 <h3>${_('Statistics')}</h3>
${h.form(url('repo_stats', repo_name=c.repo_info.repo_name),method='delete')}
<div class="form">
<div class="fields">
implements #239 manual marking of repos as forks for admins
r1755 ${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset current statistics'),class_="ui-btn",onclick="return confirm('"+_('Confirm to remove current statistics')+"');")}
<div class="field" style="border:none;color:#888">
added cache reset, stats reset, and delete into repository settings in admin....
r708 <ul>
<li>${_('Fetched to rev')}: ${c.stats_revision}/${c.repo_last_rev}</li>
Aras Pranckevicius
UI: percentage of stats gathered doesn't seem like important enough to need a large font
r1981 <li>${_('Stats gathered')}: ${c.stats_percentage}%</li>
added cache reset, stats reset, and delete into repository settings in admin....
r708 </ul>
</div>
</div>
White-space cleanup
r1888 </div>
added cache reset, stats reset, and delete into repository settings in admin....
r708 ${h.end_form()}
White-space cleanup
r1888
#109, added manual pull of changes for repositories that have remote location filled in....
r1114 %if c.repo_info.clone_uri:
<h3>${_('Remote')}</h3>
${h.form(url('repo_pull', repo_name=c.repo_info.repo_name),method='put')}
<div class="form">
<div class="fields">
implements #239 manual marking of repos as forks for admins
r1755 ${h.submit('remote_pull_%s' % c.repo_info.repo_name,_('Pull changes from remote location'),class_="ui-btn",onclick="return confirm('"+_('Confirm to pull changes from remote side')+"');")}
#109, added manual pull of changes for repositories that have remote location filled in....
r1114 <div class="field" style="border:none">
<ul>
<li><a href="${c.repo_info.clone_uri}">${c.repo_info.clone_uri}</a></li>
White-space cleanup
r1888 </ul>
</div>
#109, added manual pull of changes for repositories that have remote location filled in....
r1114 </div>
White-space cleanup
r1888 </div>
#109, added manual pull of changes for repositories that have remote location filled in....
r1114 ${h.end_form()}
%endif
White-space cleanup
r1888
added cache reset, stats reset, and delete into repository settings in admin....
r708 <h3>${_('Cache')}</h3>
${h.form(url('repo_cache', repo_name=c.repo_info.repo_name),method='delete')}
<div class="form">
<div class="fields">
implements #239 manual marking of repos as forks for admins
r1755 ${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate repository cache'),class_="ui-btn",onclick="return confirm('"+_('Confirm to invalidate repository cache')+"');")}
added cache reset, stats reset, and delete into repository settings in admin....
r708 </div>
White-space cleanup
r1888 </div>
added cache reset, stats reset, and delete into repository settings in admin....
r708 ${h.end_form()}
White-space cleanup
r1888
implemented public journal for anonymous users, admin can control which repositories...
r1085 <h3>${_('Public journal')}</h3>
${h.form(url('repo_public_journal', repo_name=c.repo_info.repo_name),method='put')}
<div class="form">
${h.hidden('auth_token',str(h.get_token()))}
implements #239 manual marking of repos as forks for admins
r1755 <div class="field">
implemented public journal for anonymous users, admin can control which repositories...
r1085 %if c.in_public_journal:
implements #239 manual marking of repos as forks for admins
r1755 ${h.submit('set_public_%s' % c.repo_info.repo_name,_('Remove from public journal'),class_="ui-btn")}
implemented public journal for anonymous users, admin can control which repositories...
r1085 %else:
implements #239 manual marking of repos as forks for admins
r1755 ${h.submit('set_public_%s' % c.repo_info.repo_name,_('Add to public journal'),class_="ui-btn")}
implemented public journal for anonymous users, admin can control which repositories...
r1085 %endif
implements #239 manual marking of repos as forks for admins
r1755 </div>
<div class="field" style="border:none;color:#888">
<ul>
<li>${_('''All actions made on this repository will be accessible to everyone in public journal''')}
</li>
</ul>
White-space cleanup
r1888 </div>
implemented public journal for anonymous users, admin can control which repositories...
r1085 </div>
${h.end_form()}
White-space cleanup
r1888
added cache reset, stats reset, and delete into repository settings in admin....
r708 <h3>${_('Delete')}</h3>
${h.form(url('repo', repo_name=c.repo_info.repo_name),method='delete')}
<div class="form">
<div class="fields">
implements #239 manual marking of repos as forks for admins
r1755 ${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
added cache reset, stats reset, and delete into repository settings in admin....
r708 </div>
implements #239 manual marking of repos as forks for admins
r1755 <div class="field" style="border:none;color:#888">
<ul>
White-space cleanup
r1888 <li>${_('''This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems.
implements #239 manual marking of repos as forks for admins
r1755 If you need fully delete it from filesystem please do it manually''')}
</li>
</ul>
White-space cleanup
r1888 </div>
</div>
implements #239 manual marking of repos as forks for admins
r1755 ${h.end_form()}
<h3>${_('Set as fork')}</h3>
${h.form(url('repo_as_fork', repo_name=c.repo_info.repo_name),method='put')}
<div class="form">
<div class="fields">
${h.select('id_fork_of','',c.repos_list,class_="medium")}
${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('set'),class_="ui-btn",)}
</div>
<div class="field" style="border:none;color:#888">
<ul>
<li>${_('''Manually set this repository as a fork of another''')}</li>
</ul>
White-space cleanup
r1888 </div>
</div>
added cache reset, stats reset, and delete into repository settings in admin....
r708 ${h.end_form()}
White-space cleanup
r1888
Code refactor for auth func, preparing for ldap support...
r699 </div>
White-space cleanup
r1888 </%def>