Changeset - 702439a16ff1
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2018-03-11 10:11:13
dominikruf@gmail.com
Grafted from: bc42c13425a4
templates: be consistent with the help-block markup
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/permissions/permissions_globals.html
Show inline comments
 
@@ -16,40 +16,40 @@ ${h.form(url('admin_permissions'), metho
 
                    <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>
 
                    </label>
 
                    <span class="help-block">${_('Permissions for the Default user on new repositories.')}</span>
 
                </div>
 
                <div class="help-block">${_('Permissions for the Default user on new repositories.')}</div>
 
            </div>
 
            <div class="form-group">
 
                <label class="control-label" for="default_group_perm">${_('Repository group')}:</label>
 
                <div class="form-inline">
 
                    ${h.select('default_group_perm','',c.group_perms_choices,class_='form-control')}
 
                    <label>
 
                        ${h.checkbox('overwrite_default_group','true')}
 
                        <span data-toggle="tooltip" title="${_('All default permissions on each repository group will be reset to chosen permission, note that all custom default permission on repository groups will be lost')}">
 
                            ${_('Apply to all existing repository groups')}
 
                        </span>
 
                    </label>
 
                    <span class="help-block">${_('Permissions for the Default user on new repository groups.')}</span>
 
                </div>
 
                <div class="help-block">${_('Permissions for the Default user on new repository groups.')}</div>
 
            </div>
 
            <div class="form-group">
 
                <label class="control-label" for="default_user_group_perm">${_('User group')}:</label>
 
                <div class="form-inline">
 
                    ${h.select('default_user_group_perm','',c.user_group_perms_choices,class_='form-control')}
 
                    <label>
 
                        ${h.checkbox('overwrite_default_user_group','true')}
 
                        <span data-toggle="tooltip" title="${_('All default permissions on each user group will be reset to chosen permission, note that all custom default permission on user groups will be lost')}">
 
                            ${_('Apply to all existing user groups')}
 
                        </span>
 
                    </label>
 
                    <span class="help-block">${_('Permissions for the Default user on new user groups.')}</span>
 
                </div>
 
                <div class="help-block">${_('Permissions for the Default user on new user groups.')}</div>
 
            </div>
 
            <div class="form-group">
 
                <label class="control-label" for="default_repo_create">${_('Top level repository creation')}:</label>
 
                <div>
 
                    ${h.select('default_repo_create','',c.repo_create_choices,class_='form-control')}
 
                    <span class="help-block">${_('Enable this to allow non-admins to create repositories at the top level.')}</span>
0 comments (0 inline, 0 general)