Commit graph

18 commits

Author SHA1 Message Date
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
Annabel Dunstone
05109ed8ea Update header block class on snippets page 2016-07-11 16:16:57 -05: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
Dmitriy Zaporozhets
cdcb354f17
Remove header title from project pages
With new navigation design it makes no sense to duplicate title in the
header

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-26 17:58:44 +02:00
Annabel Dunstone
7878eb9fa6 Start builds redesign 2016-05-04 16:45:37 -05:00
Douwe Maan
946f00ed7f Update style of snippets pages 2015-10-18 13:03:26 +02:00
Douwe Maan
d89ae7df2c Move project header title definition to view in question. 2015-09-17 12:16:24 +02:00
Dmitriy Zaporozhets
4ac7f5c949
Restyle snippets rendering
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-27 00:00:06 +02:00
Dmitriy Zaporozhets
342d553709
Rename abilities to correspond contoller/model action names
write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:55:56 +02:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Vinnie Okada
76aad9b76e Upgrade to Rails 4.1.9
Make the following changes to deal with new behavior in Rails 4.1.2:

* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
32ecb02784
Refactor scss
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-20 13:51:22 +02:00
Dmitriy Zaporozhets
083990c795 Minor UI improvements 2013-08-12 12:08:52 +03:00
Dmitriy Zaporozhets
36fd4de825 Replace page_title with page-title. Correct margin for some blocks/layouts 2013-07-13 08:45:48 +03:00
Dmitriy Zaporozhets
e7bcbb95c8 Restyle snippets 2013-06-05 22:25:27 +03:00
Andrew8xx8
e3351287b4 Permissions for Project Snippet fixed 2013-03-25 14:22:14 +04:00
Andrew8xx8
5b35000f16 Snippets feature refactored. Tests now use spinach 2013-03-24 22:31:14 +04:00
Andrew8xx8
b49cfbc1d5 Project snippets moved to /projects 2013-03-23 23:17:25 +04:00