summaryrefslogtreecommitdiff
path: root/app/views/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Fix pagination on user snippets pageSean McGivern2016-09-021-6/+10
|
* Use btn-danger for delete button.Connor Shea2016-07-081-1/+1
|
* Update New Snippet buttons.Connor Shea2016-07-081-19/+20
| | | | | | | | 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.
* Updated snippets UIPhil Hughes2016-05-182-15/+30
| | | | Closes #14328
* Refactor css for snippets listDmitriy Zaporozhets2016-02-261-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add copy-to-clipboard button to Snippets#showrs-snippets-clipboardRobert Speicher2015-12-091-2/+2
| | | | Closes #3701
* Use consistent casing for page titlesDouwe Maan2015-12-022-2/+2
|
* Put delete snippet btn after edit btnDmitriy Zaporozhets2015-10-291-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Update style of snippet detail pageDouwe Maan2015-10-181-10/+12
|
* change capitalisation in buttonsHan Loong Liauw2015-10-152-3/+6
|
* New snippet design for projectsHan Loong Liauw2015-10-142-31/+9
| | | | | | | | 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
* include created_at date in headingHan Loong Liauw2015-10-141-3/+9
|
* Updated the style of the snippets header in #showHan Loong Liauw2015-10-141-28/+23
| | | | | | It should now more closly match the styles used in issues and merge requests with some small tweaks to be more relevant to snippets
* Adds modified date to snippets#show #1767Han Loong Liauw2015-10-121-2/+2
| | | | | | - Fixed a bug with .btn-sm padding. - Changed created_at to modified_at for snippets#index as it seems to be more relevant.
* Clean up overlap between dashboard and explore.Douwe Maan2015-09-085-71/+13
| | | | | - Split up SnippetsController into separate dashboard and explore sections. - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
* Set page title based on content in dashboard areaDmitriy Zaporozhets2015-09-032-7/+14
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Restyle snippets renderingDmitriy Zaporozhets2015-08-272-24/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Small ui improvements to snippet pageDmitriy Zaporozhets2015-08-201-8/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Cleanup snippets index pagesDmitriy Zaporozhets2015-08-203-25/+15
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rebuild navigation for dashboardDmitriy Zaporozhets2015-08-201-1/+2
| | | | | | | | | | * projects from explore page are available from dashboard * use dashboard sidebar for both logged in and not users * move explroe projects under projects tab * move explore groups under groups tab * move public snippets under snippets tab Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor sidebar navigation for dashboardDmitriy Zaporozhets2015-08-203-2/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename abilities to correspond contoller/model action namesrename-abilitiesDmitriy Zaporozhets2015-06-261-1/+1
| | | | | | | | | | | | | | | | | 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>
* Capitalize "X" in "New X".Douwe Maan2015-04-301-1/+1
|
* Plural instead of singular.Douwe Maan2015-04-301-1/+1
|
* Add a page title to every page.Douwe Maan2015-04-306-0/+6
|
* Add new admin settingsVinnie Okada2015-04-262-2/+2
| | | | | Add new global application settings for default project and snippet visibility levels.
* Fix wording and remove duplicate linkDmitriy Zaporozhets2015-04-221-2/+0
|
* Start applying new layout to snippets pagesDmitriy Zaporozhets2015-04-222-27/+23
|
* Explicitly set image alt to prevent graphical glitchesSven Strickroth2015-04-131-1/+1
| | | | | | | | 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>
* Update views to single form of address. Change "my" to "your"Dmitriy Zaporozhets2015-03-223-4/+4
|
* Refactor buttonsDmitriy Zaporozhets2015-03-142-4/+4
|
* Improve css for file actionsDmitriy Zaporozhets2015-03-131-2/+2
|
* Update path helper referencesVinnie Okada2015-02-191-1/+1
| | | | | Use the path helpers for nested project resources, for Rails 4.1.9 compatibility.
* Snippets: public/internal/privateValery Sizov2014-10-093-6/+14
|
* Snippets: rename public to internalValery Sizov2014-10-071-4/+4
|
* Upgrade to Font Awesome v4.2Sullivan SENECHAL2014-10-032-3/+3
|
* Refactor snippets viewsDmitriy Zaporozhets2014-06-146-88/+21
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve files/snippets action buttonsDmitriy Zaporozhets2014-06-132-9/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename snippets scopes to plural names.Marin Jankovski2014-06-041-6/+6
|
* Replace snippets scopes in view and controller.Marin Jankovski2014-06-031-6/+6
|
* Refactor scssDmitriy Zaporozhets2014-02-202-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use more specific class names: grouped -> btn-groupedDmitriy Zaporozhets2014-02-202-4/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Enable markdown formatting for snippets in projects.Takao Baba2014-02-042-14/+15
|
* Add highlight.js support to markdown, snippets etcDmitriy Zaporozhets2014-01-271-2/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont render README with markup if format is not compatibleDmitriy Zaporozhets2014-01-081-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix snippet formDmitriy Zaporozhets2014-01-021-5/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Restyle issue form. Replace inputsDmitriy Zaporozhets2014-01-011-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* alert-error to alert-dangerDmitriy Zaporozhets2013-12-311-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Migrate forms and inputs pt1Dmitriy Zaporozhets2013-12-311-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Update form classesDmitriy Zaporozhets2013-12-311-6/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>