Commit graph

18 commits

Author SHA1 Message Date
Douwe Maan
5a1e159b7b Make tree, blob and blame pages more consistent 2017-05-09 11:35:52 -05:00
Douwe Maan
4f7811b738 Extract common parts of snippet and blob pages into partial 2017-05-02 18:55:41 -05:00
Douwe Maan
54040ce066 Show Raw button as Download for binary files 2017-04-30 14:06:21 -05:00
Douwe Maan
60ebd101d0 Use blob viewers for snippets 2017-04-30 11:21:20 -05:00
Douwe Maan
0e0c760e48 Refactor overriding max size 2017-04-27 12:23:26 -05:00
Douwe Maan
a6536a84e7 Fix some specs 2017-04-27 12:23:26 -05:00
Douwe Maan
ee17c659dc Add viewer switcher 2017-04-27 12:23:26 -05:00
Douwe Maan
30db305dce Move conditional inside copy_blob_source_button 2017-04-27 12:23:26 -05:00
Douwe Maan
0d1ec11e89 Use Blob methods instead of BlobHelper helpers 2017-04-27 12:23:26 -05:00
Eric Eastwood
a27b59f620 Fix diffs with edit-forking needs
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/31276
2017-04-24 10:22:26 -05:00
Eric Eastwood
36387ce1b4 Add Fork/Cancel confirmation to "Replace"/"Delete" buttons
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/30637
2017-04-20 13:34:18 -05:00
Eric Eastwood
b4f0ecde79 Fix edit button on blame page without repo perms
Without repo permissions, pressing the "Edit" button on the blame page
will now prompt to Fork/Cancel.

Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/30636
2017-04-10 16:33:07 -05:00
Douwe Maan
fb8a12c8fe Don't show 'Copy content' button on text files that are not rendered as text 2017-04-10 21:23:19 +00:00
Douwe Maan
4caa9b63cc Rename displaying_blame to blame 2017-04-07 17:13:04 -05:00
Douwe Maan
a5792a8682 Don't show Copy contents button on Blame page 2017-04-07 16:34:33 -05:00
Jose Ivan Vargas Lopez
c380d7669c Fixed button capitalisation for Projects in views 2017-04-06 14:58:57 -05:00
Eric Eastwood
b42dc1a52b Linking to edit file directly 2017-04-06 16:36:38 +00:00
Douwe Maan
c52fead0d2 Fix spec 2017-03-16 09:37:22 -06:00