Changeset - 8290f9652cb4
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2018-03-11 10:23:33
dominikruf@gmail.com
Grafted from: 1a6dae66f1f0
templates: make 'Anonymous access' markup more consistent with the others

"Allow anonymous access" wasn't rendered.
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/permissions/permissions_globals.html
Show inline comments
 
${h.form(url('admin_permissions'), method='post')}
 
    <div class="form">
 
            <div class="form-group">
 
                <label class="control-label" for="anonymous">${_('Anonymous access')}:</label>
 
                <div class="form-inline">
 
                    <div class="checkbox">
 
                    <label>
 
                        ${h.checkbox('anonymous',True)}
 
                    </div>
 
                        <span>${_('Allow anonymous access')}</span>
 
                    </label>
 
                    <span class="help-block">${h.literal(_('Allow access to Kallithea without needing to log in. Anonymous users use %s user permissions.' % (h.link_to('*default*',h.url('admin_permissions_perms')))))}</span>
 
                </div>
 
            </div>
 
            <div class="form-group">
 
                <label class="control-label" for="default_repo_perm">${_('Repository')}:</label>
 
                <div class="form-inline">
 
                    ${h.select('default_repo_perm','',c.repo_perms_choices,class_='form-control')}
 
                    <label>
 
                        ${h.checkbox('overwrite_default_repo','true')}
 
                        <span data-toggle="tooltip" title="${_('All default permissions on each repository will be reset to chosen permission, note that all custom default permission on repositories will be lost')}">
 
                            ${_('Apply to all existing repositories')}
 
                        </span>
0 comments (0 inline, 0 general)