Commit a5615b27 authored by svilayphiou's avatar svilayphiou
Browse files

add branch name as a class name in project detail

parent b7bb1b0e
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<div class="repo"> <div class="repo branch-{{ project.default_branch }}">
<header class="header"> <header class="header">
<h2 class="repo-title">{{ project.name }}</h2> <h2 class="repo-title">{{ project.name }}</h2>
<h2 class="repo-title"></h2> <h2 class="repo-title"></h2>
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
{{ project.readme }} {{ project.readme }}
</section> </section>
{% endif %} {% endif %}
<section id="tree"> <section id="tree">
<h3>Tree</h3> <h3>Tree</h3>
<ul> <ul>
...@@ -29,6 +30,9 @@ ...@@ -29,6 +30,9 @@
{% endfor %} {% endfor %}
</ul> </ul>
</section> </section>
<section id="commits"> <section id="commits">
<h3>Commits</h3> <h3>Commits</h3>
...@@ -46,4 +50,7 @@ ...@@ -46,4 +50,7 @@
</section> </section>
</section> </section>
</div> </div>
{% endblock %} {% endblock content %}
{% block script %}
{% endblock script %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment