From 11e38ed5ed0a8679d2dcc1f5e53c920922526bbc Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 20 2014 08:03:17 +0000 Subject: Port the repo info and log view to use the repo_master template --- diff --git a/progit/templates/repo_info.html b/progit/templates/repo_info.html index 85cdc63..adf2695 100644 --- a/progit/templates/repo_info.html +++ b/progit/templates/repo_info.html @@ -1,69 +1,10 @@ -{% extends "master.html" %} +{% extends "repo_master.html" %} {% block title %}{{ repo.name }}{% endblock %} {%block tag %}home{% endblock %} -{% block content %} -

- {% if '/fork/' in request.url %} - - {% else %} - - {% endif %} - {{ repo.fullname }} - - {% if branchname %} ({{ branchname }}) {% endif %} -

- -{% if repo.fork %} -
- Forked from - - {{ repo.parent.name }} -
-{% endif %} - -
- - -
+{% block repo %} {% if repo_obj and repo_obj.is_empty %}