# HG changeset patch # User domruf # Date 2017-05-18 20:10:24 # Node ID 84b339875fbfac7c82936a0bd44a2ff68b14b0c8 # Parent 911652ac162ee409e8f5cb0b254bcfb4acd4fbee templates: remove some obsolete classes and html elements diff --git a/kallithea/templates/admin/settings/settings_system.html b/kallithea/templates/admin/settings/settings_system.html --- a/kallithea/templates/admin/settings/settings_system.html +++ b/kallithea/templates/admin/settings/settings_system.html @@ -22,10 +22,6 @@

${_('Python Packages')}

- - - - %for key, value in c.modules: diff --git a/kallithea/templates/base/perms_summary.html b/kallithea/templates/base/perms_summary.html --- a/kallithea/templates/base/perms_summary.html +++ b/kallithea/templates/base/perms_summary.html @@ -21,7 +21,7 @@ %if not permissions[section]: ${_('No permissions defined yet')} %else: -
+
## global permission box %if section == 'global': diff --git a/kallithea/templates/index_base.html b/kallithea/templates/index_base.html --- a/kallithea/templates/index_base.html +++ b/kallithea/templates/index_base.html @@ -12,8 +12,7 @@ %if request.authuser.username != 'default': - + %endif %if c.groups: diff --git a/kallithea/templates/pullrequests/pullrequest_data.html b/kallithea/templates/pullrequests/pullrequest_data.html --- a/kallithea/templates/pullrequests/pullrequest_data.html +++ b/kallithea/templates/pullrequests/pullrequest_data.html @@ -11,18 +11,18 @@
- - - - - - - + + + + + + + % for pr in pullrequests: -
${_('Vote')}${_('Title')}${_('Owner')}${_('Age')}${_('From')}${_('To')}${_('Delete')}${_('Vote')}${_('Title')}${_('Owner')}${_('Age')}${_('From')}${_('To')}${_('Delete')}
+ <% status = pr.user_review_status(request.authuser.user_id) %> %if status: diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html +++ b/kallithea/templates/summary/summary.html @@ -18,16 +18,12 @@ ##FORK %if c.db_repo.fork: - - ${_('Fork of')} "${c.db_repo.fork.repo_name}" - %endif ##REMOTE %if c.db_repo.clone_uri: - - ${_('Clone from')} "${h.hide_credentials(c.db_repo.clone_uri)}" - %endif