From 5e35881b7a909ab3927f545546c6f20622144263 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 04 2017 09:52:29 +0000 Subject: Separately link user/namespace/name The user link will send you to the user's page The namespace link will send you to all the projects in this namespace and the name link will send you to the overview page of the current project Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index 26367e3..63bc9ec 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -22,23 +22,25 @@

- + {% endif %} + {% if repo.is_fork -%} + + {{ repo.user.user }}/ + {%- endif -%} + {%- if repo.namespace -%} + {{ repo.namespace }}/ + {%- endif -%} - {% if repo.private %} - - {% endif %} - {% if repo.is_fork -%} - - {{ repo.user.user }}/{{ - repo.namespace + '/' if repo.namespace - }}{{ repo.name}} - {%- else -%} - {{ repo.namespace + '/' if repo.namespace }}{{ repo.name }} - {%- endif -%} - + namespace=repo.namespace) + }}">{{ repo.name }} {% if authenticated %}
{% if repo.settings.get('issue_tracker', True) @@ -89,9 +91,9 @@ namespace=repo.namespace, )}}" class="btn btn-sm btn-primary">{{repo.stargazers|length}} {% endif %} -
+

-
+
{% if not repo.is_fork %} {% if g.repo_forked %}