- ${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset current statistics'),class_="ui-btn",onclick="return confirm('"+_('Confirm to remove current statistics')+"');")}
-
-
-
${_('Fetched to rev')}: ${c.stats_revision}/${c.repo_last_rev}
+ ${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset current statistics'),class_="ui-btn",onclick="return confirm('"+_('Confirm to remove current statistics')+"');")}
-
${_('Force locking on repository. Works only when anonymous access is disabled')}
-
+
${_('Fetched to rev')}: ${c.stats_revision}/${c.repo_last_rev}
${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need to fully delete it from file system please do it manually')}
+
${_('''Manually set this repository as a fork of another from the list''')}
+ ${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
+ %if c.repo_info.forks.count():
+ - ${ungettext('this repository has %s fork', 'this repository has %s forks', c.repo_info.forks.count()) % c.repo_info.forks.count()}
+
+
+ %endif
+
+
${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need to fully delete it from file system please do it manually')}
+
+
+
- ${h.end_form()}
+
+ ${h.end_form()}
##TODO: this should be controlled by the VISUAL setting
diff --git a/rhodecode/templates/settings/repo_settings.html b/rhodecode/templates/settings/repo_settings.html
--- a/rhodecode/templates/settings/repo_settings.html
+++ b/rhodecode/templates/settings/repo_settings.html
@@ -1,4 +1,7 @@
## -*- coding: utf-8 -*-
+##
+## See also repo_edit.html
+##
<%inherit file="/base/base.html"/>
<%def name="title()">
@@ -30,10 +33,10 @@
-
- ${h.text('repo_name',class_="small")}
+
+ ${h.text('repo_name',class_="medium")}
-
+
@@ -81,25 +84,24 @@
%if c.visual.repository_fields:
- ## EXTRA FIELDS
- %for field in c.repo_fields:
-
+ ${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
+
+
${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need to fully delete it from file system please do it manually')}
- ${h.submit('remove_%s' % c.repo_info.repo_name,_('Remove this repository'),class_="ui-btn red",onclick="return confirm('"+_('Confirm to delete this repository')+"');")}
-
-
-
-
${_('This repository will be renamed in a special way in order to be unaccesible for RhodeCode and VCS systems. If you need fully delete it from file system please do it manually')}