diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-09 16:22:22 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-05-09 16:22:31 -0500 |
commit | f6e47f6f222380eead684ae8ba0ae522f7fcd789 (patch) | |
tree | 489e95adaeb7196b37aba0cbeb7aeb31c88b0091 /app/views/projects/branches/_branch.html.haml | |
parent | 6b64174dad95a75c2f9f277d3cb4bdb5e385a142 (diff) | |
download | gitlab-ce-f6e47f6f222380eead684ae8ba0ae522f7fcd789.tar.gz |
Convert some hidden-xs that was added later
Diffstat (limited to 'app/views/projects/branches/_branch.html.haml')
-rw-r--r-- | app/views/projects/branches/_branch.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/_branch.html.haml b/app/views/projects/branches/_branch.html.haml index 85cde721607..fc96fd9cf3a 100644 --- a/app/views/projects/branches/_branch.html.haml +++ b/app/views/projects/branches/_branch.html.haml @@ -28,7 +28,7 @@ = s_('Branches|Cant find HEAD commit for this branch') - if branch.name != @repository.root_ref - .divergence-graph.hidden-xs{ title: s_('%{number_commits_behind} commits behind %{default_branch}, %{number_commits_ahead} commits ahead') % { number_commits_behind: diverging_count_label(number_commits_behind), + .divergence-graph.d-none.d-sm-block{ title: s_('%{number_commits_behind} commits behind %{default_branch}, %{number_commits_ahead} commits ahead') % { number_commits_behind: diverging_count_label(number_commits_behind), default_branch: @repository.root_ref, number_commits_ahead: diverging_count_label(number_commits_ahead) } } .graph-side |