diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index ac4b372..c543929 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -51,6 +51,76 @@ git push -u origin master
+
Source GIT URLs{% if + (authenticated and g.repo_committer) or + (config['DOC_APP_URL'] and repo and + repo.settings.get('project_documentation', True)) + %} + {%endif%}
+
+ {% if g.authenticated and g.repo_committer %} +
+
+
SSH
+ +
+
+ {% endif %} +
+
+
GIT
+ +
+
+
+ {% if config['DOC_APP_URL'] + and repo + and repo.settings.get('project_documentation', True) %} +
Docs GIT URLs
+ {% if g.authenticated and g.repo_committer %} +
+
+
SSH
+ +
+
+ {% endif %} +
+
+
GIT
+ +
+
+ {% endif %} + {% if g.authenticated and g.repo_committer %} + {% if config.get('ENABLE_TICKETS', True) + and repo.settings.get('issue_tracker', True) %} +
Issues GIT URLs
+
+
+
SSH
+ +
+
+ {% endif %} +
Pull Requests GIT URLs
+
+
+
SSH
+ +
+
+ {% endif %} +
+
Contributors
@@ -167,76 +237,6 @@ git push -u origin master
{% endif %} -
Source GIT URLs{% if - (authenticated and g.repo_committer) or - (config['DOC_APP_URL'] and repo and - repo.settings.get('project_documentation', True)) - %} - {%endif%}
-
- {% if g.authenticated and g.repo_committer %} -
-
-
SSH
- -
-
- {% endif %} -
-
-
GIT
- -
-
-
- {% if config['DOC_APP_URL'] - and repo - and repo.settings.get('project_documentation', True) %} -
Docs GIT URLs
- {% if g.authenticated and g.repo_committer %} -
-
-
SSH
- -
-
- {% endif %} -
-
-
GIT
- -
-
- {% endif %} - {% if g.authenticated and g.repo_committer %} - {% if config.get('ENABLE_TICKETS', True) - and repo.settings.get('issue_tracker', True) %} -
Issues GIT URLs
-
-
-
SSH
- -
-
- {% endif %} -
Pull Requests GIT URLs
-
-
-
SSH
- -
-
- {% endif %} -
-
created {{repo.date_created|humanize}}