Commit graph

22 commits

Author SHA1 Message Date
Robert Speicher
cbac31d923 Add copy-to-clipboard button to Snippets#show
Closes #3701
2015-12-09 14:54:54 -05:00
Douwe Maan
b371b6d139 Update style of snippet detail page 2015-10-18 12:54:02 +02:00
Han Loong Liauw
45e11d95f2 fix spinach features to use new button wordings
Also fixed an accidental deletion of pratial
2015-10-15 17:59:17 +11: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
Douwe Maan
d89ae7df2c Move project header title definition to view in question. 2015-09-17 12:16:24 +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
Dmitriy Zaporozhets
30ca451fd4 Refactor buttons 2015-03-14 00:29:32 -07:00
Dmitriy Zaporozhets
2da2720584 Improve css for file actions 2015-03-13 19:20:25 -07: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
Sullivan SENECHAL
5d8be4438a Upgrade to Font Awesome v4.2 2014-10-03 12:19:24 +02:00
Dmitriy Zaporozhets
9be5425a88
Refactor snippets views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-14 12:36:46 +03:00
Steven Thonus
65cad57a35 avatar upload on profile page 2013-10-09 09:05:09 +02:00
Dmitriy Zaporozhets
b1fbd65832 Improve UI for project snippets 2013-07-18 13:21:56 +03:00
Dmitriy Zaporozhets
bea14d6c28 remove unnecessary %br/%hr and styles 2013-07-13 09:05:28 +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
2ed7cbfba4 Move projects controllers/views in Projects module 2013-06-23 19:47:22 +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