Commit graph

15 commits

Author SHA1 Message Date
Z.J. van de Weg
5be8f03747 Improve performance of User Agent Detail 2017-02-20 16:28:13 +01:00
Sean McGivern
a08bbcbc44 Don't render snippet actions for logged-out users 2017-02-06 12:17:26 +00:00
Sean McGivern
c63194ce6f Check public snippets for spam
Apply the same spam checks to public snippets (either personal snippets
that are public, or public snippets on public projects) as to issues on
public projects.
2017-02-02 10:23:51 +00:00
Mike Greiling
c41b7e8a2f invert snippet action buttons 2016-12-10 00:57:23 -06:00
Mike Greiling
12a8095cc7 remove unused class name 2016-12-10 00:57:22 -06:00
Mike Greiling
758b3055c5 update action button order for snippets page 2016-12-10 00:57:22 -06:00
Clement Ho
e23c1d88e2 Replace bootstrap caret with fontawesome caret 2016-10-05 17:39:52 -05:00
Luke Bennett
9abd871a03
Added full-width new snippet button on mobile and corrected capitalization
Altered specs that click capitalised New Snippet button

Applied review feedback missed in  Changes `.no-comment` `opactiy: 0.5` to `opacity: .5`

Added `.btn-wide-on-xs` and applied to snippet buttons
2016-09-18 16:33:33 +01:00
Luke Bennett
56461e0c16
Reordered dropdown options
Rearranged datetime created line

Added `avatar_class` option to `link_to_member` so it can be hidden

Made snippet title font heavier

Added file title  bar

Hidden unneeded info from xs screens

Added visibility icon

Reveal file-actions on xs screens

Added comments icon to snippets list items

Refactored no-comments declaration into framework stylesheet

Final touch ups

Fixed snippets_spec
2016-09-07 15:12:03 +01:00
Connor Shea
226bc5873a
Use btn-danger for delete button. 2016-07-08 13:21:20 -06:00
Connor Shea
443fdff1b4
Update New Snippet buttons.
No longer shows New Snippet button to users who aren't able to create a new snippet in the given context.

Also removes the plus icon from the New Snippet buttons, as they're no longer used in other creation buttons.

Fixes #14595.
2016-07-08 13:21:20 -06:00
Phil Hughes
da5f0b9119 Updated snippets UI
Closes #14328
2016-05-18 14:11:06 +01:00
Dmitriy Zaporozhets
7794cc8b9d
Put delete snippet btn after edit btn
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-10-29 10:25:38 +01:00
Han Loong Liauw
f7ed469ece change capitalisation in buttons 2015-10-15 15:24:26 +11:00
Han Loong Liauw
1f92c22fec New snippet design for projects
Split out header into shared partial
Used action partials to have unique actions for shared and personal
snippets
changed back to created date in list view
Switched to using existing color classes
2015-10-14 23:53:52 +11:00