Commit 0505a882991da981b4797e0a48c7c5098cd084e2
1 parent
f18f8e67
Exists in
spb-stable
and in
2 other branches
Hide control elements and last login for xs display
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/projects/blob/_blob.html.haml
@@ -15,18 +15,18 @@ | @@ -15,18 +15,18 @@ | ||
15 | - else | 15 | - else |
16 | = link_to title, '#' | 16 | = link_to title, '#' |
17 | 17 | ||
18 | -%ul.blob-commit-info.bs-callout.bs-callout-info | 18 | +%ul.blob-commit-info.bs-callout.bs-callout-info.hidden-xs |
19 | - blob_commit = @repository.last_commit_for_path(@commit.id, @blob.path) | 19 | - blob_commit = @repository.last_commit_for_path(@commit.id, @blob.path) |
20 | = render blob_commit, project: @project | 20 | = render blob_commit, project: @project |
21 | 21 | ||
22 | %div#tree-content-holder.tree-content-holder | 22 | %div#tree-content-holder.tree-content-holder |
23 | .file-holder | 23 | .file-holder |
24 | - .file-title | 24 | + .file-title.clearfix |
25 | %i.icon-file | 25 | %i.icon-file |
26 | %span.file_name | 26 | %span.file_name |
27 | = blob.name | 27 | = blob.name |
28 | %small= number_to_human_size blob.size | 28 | %small= number_to_human_size blob.size |
29 | - %span.options= render "actions" | 29 | + %span.options.hidden-xs= render "actions" |
30 | - if blob.text? | 30 | - if blob.text? |
31 | = render "text", blob: blob | 31 | = render "text", blob: blob |
32 | - elsif blob.image? | 32 | - elsif blob.image? |