Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.gitlabculture
Commits
a5615b27
Commit
a5615b27
authored
Mar 06, 2020
by
svilayphiou
Browse files
add branch name as a class name in project detail
parent
b7bb1b0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
generator/templates/project.html
View file @
a5615b27
{% extends "base.html" %}
{% block content %}
<div
class=
"repo"
>
<div
class=
"repo
branch-{{ project.default_branch }}
"
>
<header
class=
"header"
>
<h2
class=
"repo-title"
>
{{ project.name }}
</h2>
<h2
class=
"repo-title"
></h2>
...
...
@@ -21,6 +21,7 @@
{{ project.readme }}
</section>
{% endif %}
<section
id=
"tree"
>
<h3>
Tree
</h3>
<ul>
...
...
@@ -29,6 +30,9 @@
{% endfor %}
</ul>
</section>
<section
id=
"commits"
>
<h3>
Commits
</h3>
...
...
@@ -46,4 +50,7 @@
</section>
</section>
</div>
{% endblock %}
{% endblock content %}
{% block script %}
{% endblock script %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment