diff options
author | Rémy Coutable <remy@rymai.me> | 2016-01-15 11:10:55 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-01-15 11:10:55 +0100 |
commit | a69271374df0018b2bfa7cd96e183dedc903f36b (patch) | |
tree | cd07f7fb65fec1327b8d81bfddf7de77d8532cf6 /app/views/projects/branches | |
parent | d00725a17594bd4908d31397c6012b397ff1148d (diff) | |
download | gitlab-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.haml | 4 |
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 - if branch.name == @repository.root_ref %span.label.label-primary default |