-
- Downloads
Don't show 'Copy content' button on text files that are not rendered as text
Showing
- app/helpers/blob_helper.rb 4 additions, 0 deletionsapp/helpers/blob_helper.rb
- app/models/blob.rb 25 additions, 5 deletionsapp/models/blob.rb
- app/views/projects/blob/_blob.html.haml 7 additions, 1 deletionapp/views/projects/blob/_blob.html.haml
- app/views/projects/blob/_header.html.haml 1 addition, 1 deletionapp/views/projects/blob/_header.html.haml
- app/views/projects/blob/_image.html.haml 1 addition, 14 deletionsapp/views/projects/blob/_image.html.haml
- app/views/projects/blob/_markup.html.haml 4 additions, 0 deletionsapp/views/projects/blob/_markup.html.haml
- app/views/projects/blob/_svg.html.haml 9 additions, 0 deletionsapp/views/projects/blob/_svg.html.haml
- app/views/projects/blob/_text.html.haml 2 additions, 19 deletionsapp/views/projects/blob/_text.html.haml
- app/views/projects/blob/_too_large.html.haml 5 additions, 0 deletionsapp/views/projects/blob/_too_large.html.haml
- spec/models/blob_spec.rb 5 additions, 5 deletionsspec/models/blob_spec.rb
app/views/projects/blob/_markup.html.haml
0 → 100644
app/views/projects/blob/_svg.html.haml
0 → 100644
app/views/projects/blob/_too_large.html.haml
0 → 100644
Please register or sign in to comment