summaryrefslogtreecommitdiff
path: root/app/views/projects/branches
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-01-15 11:10:55 +0100
committerRémy Coutable <remy@rymai.me>2016-01-15 11:10:55 +0100
commita69271374df0018b2bfa7cd96e183dedc903f36b (patch)
treecd07f7fb65fec1327b8d81bfddf7de77d8532cf6 /app/views/projects/branches
parentd00725a17594bd4908d31397c6012b397ff1148d (diff)
downloadgitlab-ce-a69271374df0018b2bfa7cd96e183dedc903f36b.tar.gz
Streamline item titles to use a single class, and add back strong tags
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r--app/views/projects/branches/_branch.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml
index d276e5932d1..d78c2dc0071 100644
--- a/app/views/projects/branches/_branch.html.haml
+++ b/app/views/projects/branches/_branch.html.haml
@@ -1,12 +1,12 @@
- commit = @repository.commit(branch.target)
- bar_graph_width_factor = @max_commits > 0 ? 100.0/@max_commits : 0
-- diverging_commit_counts = @repository.diverging_commit_counts(branch)
+- diverging_commit_counts = @repository.diverging_commit_counts(branch)
- number_commits_behind = diverging_commit_counts[:behind]
- number_commits_ahead = diverging_commit_counts[:ahead]
%li(class="js-branch-#{branch.name}")
%div
= link_to namespace_project_tree_path(@project.namespace, @project, branch.name) do
- .branch-name.str-truncated= branch.name
+ %strong.item-title.str-truncated= branch.name
&nbsp;
- if branch.name == @repository.root_ref
%span.label.label-primary default