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
ae09c2a6db
Capitalize "X" in "New X".
2015-04-30 21:33:02 +02:00
Douwe Maan
4d7759156b
Plural instead of singular.
2015-04-30 21:10:42 +02:00
Douwe Maan
26ad250989
Add a page title to every page.
2015-04-30 19:12:15 +02:00
Vinnie Okada
bd557e4b64
Add new admin settings
...
Add new global application settings for default project and snippet
visibility levels.
2015-04-26 07:48:19 -06:00
Dmitriy Zaporozhets
0261a5e222
Fix wording and remove duplicate link
2015-04-22 18:18:11 +03:00
Dmitriy Zaporozhets
4a63573b21
Start applying new layout to snippets pages
2015-04-22 18:17:43 +03:00
Sven Strickroth
57c2a9f03d
Explicitly set image alt to prevent graphical glitches
...
Rails image_tag sets the alt-attribute to the filename which causes graphical glitches if the file could not be loaded.
Fixes https://github.com/gitlabhq/gitlabhq/issues/6036 .
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2015-04-13 21:07:42 +02:00
Dmitriy Zaporozhets
9e554a5223
Update views to single form of address. Change "my" to "your"
2015-03-22 20:10:12 -07: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
83e2a1ca12
Update path helper references
...
Use the path helpers for nested project resources, for Rails 4.1.9
compatibility.
2015-02-19 21:25:28 -07:00
Valery Sizov
47f539f5a6
Snippets: public/internal/private
2014-10-09 17:09:53 +03:00
Valery Sizov
fd8d1d9b62
Snippets: rename public to internal
2014-10-07 11:54:00 +03: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
Dmitriy Zaporozhets
eb7845682d
Improve files/snippets action buttons
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-13 20:21:48 +03:00
Marin Jankovski
18b1f171bd
Rename snippets scopes to plural names.
2014-06-04 08:37:19 +02:00
Marin Jankovski
79f8abc51f
Replace snippets scopes in view and controller.
2014-06-03 11:37:23 +02: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
f92b1f3d01
Use more specific class names: grouped -> btn-grouped
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-20 13:05:33 +02:00
Takao Baba
c52bc838cd
Enable markdown formatting for snippets in projects.
2014-02-04 01:06:21 +09:00
Dmitriy Zaporozhets
78b2fb5de9
Add highlight.js support to markdown, snippets etc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-27 13:12:58 +02:00
Dmitriy Zaporozhets
d6c037de81
Dont render README with markup if format is not compatible
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-08 16:32:03 +02:00
Dmitriy Zaporozhets
34245ceb99
Fix snippet form
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-02 13:26:58 +02:00
Dmitriy Zaporozhets
5fa805a7ba
Restyle issue form. Replace inputs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-01 22:11:18 +02:00
Dmitriy Zaporozhets
d7a48443ce
alert-error to alert-danger
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 16:34:14 +02:00
Dmitriy Zaporozhets
010a770b3f
Migrate forms and inputs pt1
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 02:50:36 +02:00
Dmitriy Zaporozhets
16eb3ac360
Update form classes
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 01:27:02 +02:00
Dmitriy Zaporozhets
1b1a408a71
Convert span into col-md
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-30 23:55:15 +02:00
Dmitriy Zaporozhets
9a31844e2a
Remove unnecessary ago keyword
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-30 14:49:22 +02:00
Hans Lemuet
ff0d8a18bf
tiny wording fix
...
GitLab users can can see this snippet -> GitLab users can see this snippet
2013-12-18 00:04:40 +01:00
Drew Blessing
fa817dffea
Add time ago tooltips to show actual date/time
...
Clean up admin dashboad tooltips
Clean up admin dashboad tooltips
Clean up admin dashboad tooltips
Add helper method
change to use app helper
Modify tooltips to use new helper
Convert remaining times
Adjust one tooltip
2013-12-14 15:24:12 -06:00
Jeroen van Baarsen
bfacf13668
Fixed all the confirm: deprecation warnings
2013-12-10 20:33:21 +01:00
Dmitriy Zaporozhets
3bdf930852
Render markdown in snippets
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-20 17:29:50 +02:00
Dmitriy Zaporozhets
8841eec426
Improve snippets UX
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-18 21:34:07 +02:00
Steven Thonus
65cad57a35
avatar upload on profile page
2013-10-09 09:05:09 +02:00
Dmitriy Zaporozhets
083990c795
Minor UI improvements
2013-08-12 12:08:52 +03:00
Dmitriy Zaporozhets
c52f9e1a32
use control-group classes for inline forms in project new/edit pages
2013-08-07 23:28:02 +03:00
Dmitriy Zaporozhets
e834742407
Dont load bootstrap buttons. Modified css with new buttons
2013-08-01 22:35:40 +03:00
Dmitriy Zaporozhets
33347efa26
User links to user snippets
2013-07-18 13:33:43 +03:00
Dmitriy Zaporozhets
82e1fe4675
Minor ui fix for snippet
2013-07-18 13:22:47 +03:00
Dmitriy Zaporozhets
bbb06e504e
Add seeds and improve ui. Remove snippet expires_at
2013-07-18 13:08:48 +03:00
Dmitriy Zaporozhets
3805797cae
scss: rename file_content to file-content etc
2013-07-13 09:52:47 +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
315d4cc8e8
Merge pull request #4415 from jackbot/master
...
Couple of UI additions
2013-06-30 09:32:47 -07:00
Izaak Alpert
c1b05e7b86
Gravatar image fixes when gravatar unavailable
...
-Alt text to image was set to hash, which would make the page display hashes if the image/gravatar wasn't available, set the alt text to '', and made the main tool bar image follow the same or similar constraints as the other images (.avatar, .s26)
Conflicts:
app/assets/stylesheets/themes/ui_bb.scss
app/views/snippets/_snippet.html.haml
Change-Id: I42e1e86f535486fd2556d4b3e4591f3676eea033
2013-06-26 08:53:03 -04:00
Jack Weeden
82271e7818
Added tooltip to snippet public/private icons
2013-06-24 23:57:26 +01:00
Jack Weeden
1aeebdf681
Added delete button to snippet view
2013-06-24 23:55:37 +01:00