-
${_('Advanced settings')}
+ ##main
+
-
${_('Statistics')}
- ${h.form(url('repo_stats', repo_name=c.repo_info.repo_name),method='delete')}
-
- ${h.end_form()}
-
- %if c.repo_info.clone_uri:
-
${_('Remote')}
- ${h.form(url('repo_pull', repo_name=c.repo_info.repo_name),method='put')}
-
- ${h.end_form()}
- %endif
-
-
${_('Cache')}
- ${h.form(url('repo_cache', repo_name=c.repo_info.repo_name),method='delete')}
-
-##TODO: this should be controlled by the VISUAL setting
-%if c.visual.repository_fields:
-
-
-
-
${_('Extra fields')}
-
-
-
-
- %for field in c.repo_fields:
-
- | ${field.field_label} (${field.field_key}) |
- ${field.field_type} |
-
- ${h.form(url('delete_repo_fields', repo_name=c.repo_info.repo_name, field_id=field.repo_field_id),method='delete')}
- ${h.submit('remove_%s' % field.repo_field_id, _('delete'), id="remove_field_%s" % field.repo_field_id,
- class_="delete_icon action_button", onclick="return confirm('"+_('Confirm to delete this field: %s') % field.field_key+"');")}
- ${h.end_form()}
- |
-
- %endfor
-
-
-
- ${h.form(url('create_repo_fields', repo_name=c.repo_info.repo_name),method='put')}
-
- ${h.end_form()}
-
-%endif
%def>