Commit graph

19 commits

Author SHA1 Message Date
Phil Hughes
db44e55698 Visually display that expanded diff lines cant be commented on
Previously you just had to hover over a line to see if it could be
commented on, this changes that by changing the background color &
borders to show that the line cant have a comment.
2017-02-28 14:36:30 +00:00
Nur Rony
c171435527
fixes line number copy issue for unfolded parallel view diff 2017-02-20 14:04:38 +06:00
Mike Greiling
c89d9e741c only show diff unfolding link if there are more lines to show 2017-02-16 15:40:50 -06:00
Mike Greiling
ece2e80bf8 ensure linenumber data attribute is correct for the last line in a diff chunk 2017-01-18 15:13:27 -06:00
Kushal Pandya
fb3e365412 HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
Tim Masliuchenko
b6d545df51 Add unfold links for Side-by-Side view 2016-08-04 09:09:59 +03:00
Phil Hughes
2dbfa1de27 Put back removed line number 2016-04-20 17:30:21 +01:00
Phil Hughes
6495c13d70 Fixed issue with lines not being selectable when expanding diff 2016-04-20 17:25:16 +01:00
Annabel Dunstone
80d8f8b876 Syntax & style updates 2016-04-14 12:33:29 -05:00
Annabel Dunstone
d176f873e1 Add content attributes to discussion diffs; change styling of add-note icon to prevent white spaces in paste 2016-04-14 09:10:40 -05:00
Annabel Dunstone
7030ffb0e0 Copying and pasting doesn't grab line numbers or +/- 2016-04-14 09:10:40 -05:00
Douwe Maan
21facf5353 Use consistent markup and styling for highlighting across blobs, diffs, blame and snippets 2016-01-21 14:23:53 +01:00
Rubén Dávila
0f0af19139 Little refactor for usage of html_safe. #3945 2016-01-13 11:39:15 -05:00
Rubén Dávila
776d70d11b Use #html_safe instead of #raw in some diff views. #3945 2016-01-06 19:54:36 -05:00
Rubén Dávila
3fbcf52ec8 Apply syntax highlighting when expanding diff plus some refactor. #3945 2015-12-31 01:05:52 -05:00
ngentile
dbff6bc106 Gitlab Issue 707: Indent unfolded code 1 character 2015-07-22 09:58:17 -04:00
Alex Connor
3c892f3554 Disabled expansion of top/bottom blobs for new file diffs 2015-05-21 09:25:07 +02:00
Marin Jankovski
9c3935c5b0 Use the new path to the partial, move the diff related methods to the new helper. 2014-09-09 11:10:40 +02:00
skv
4e40800166 diff unfold 2014-08-14 15:48:14 +04:00