Commit graph

26 commits

Author SHA1 Message Date
Oswaldo Ferreira
e561b142fa Backport gitlab-ee!2456 2017-07-27 12:09:46 -04:00
Phil Hughes
6acb708db7 fixed admin breadcrumb titles 2017-07-12 10:30:42 +01:00
Phil Hughes
13cc761a09 moved @breadcrumb_title out of the HAML & into a helper method 2017-07-12 09:16:32 +01:00
Phil Hughes
9fcc28d428 moved declaration of breadcrumb_title into page_title method
`breadcrumb_title` is then overriden when needed
2017-07-12 09:04:22 +01:00
Jose Ivan Vargas Lopez
c2a987fb9c Admin section capitalization fix 2017-04-06 14:58:57 -05:00
Chris Peressini
82f61410b6 Change Canccel button class
Used to be `btn-default`, change it to `btn-cancel`
2017-03-14 12:23:44 +00:00
Kushal Pandya
fb3e365412 HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
Timothy Andrew
f706a973c2 View-related (and other minor) changes to !5951 based on @rymai's review.
- The `scopes_form` partial can be used in the `admin/applications` view
  as well

- Don't allow partials to access instance variables directly. Instead, pass
  in the instance variables as local variables, and use `local_assigns.fetch`
  to assert that the variables are passed in as expected.

- Change a few instances of `render :partial` to `render`

- Remove an instance of `required: false` in a view, since this is the default

- Inline many instances of a local variable (`ip = 'ip'`) in `auth_spec`
2016-12-16 16:29:32 +05:30
Timothy Andrew
990ae6b8e5 Move the scopes form/list view into a partial.
- The list of scopes that's displayed while creating a personal access
  token is identical to the list that's displayed while creating an OAuth
  application. Extract these into a partial.

- The list of scopes that's displayed while in the show page for an OAuth token
  in the profile settings and admin settings are identical. Extract these into
  a partial.
2016-12-16 16:29:31 +05:30
Timothy Andrew
6c809dfae8 Allow creating personal access tokens / OAuth applications with scopes. 2016-12-16 15:08:10 +05:30
Robert Speicher
7a2370f740 Standardize the way we check for and display form errors
- Some views had a "Close" button. We've removed this, because we don't
  want users accidentally hiding the validation errors and not knowing
  what needs to be fixed.
- Some views used `li`, some used `p`, some used `span`. We've
  standardized on `li`.
- Some views only showed the first error. We've standardized on showing
  all of them.
- Some views added an `#error_explanation` div, which we've made
  standard.
2016-04-04 21:37:07 -04:00
Arinde Eniola
367818d293 change the css class has_tooltip to has-tooltip universally 2016-03-20 21:37:22 +01:00
Zeger-Jan van de Weg
89154880e5 Save button on app settings now btn-save 2016-01-26 10:05:28 +01:00
Douwe Maan
a32f776609 Make tables full width. 2015-10-19 11:19:45 +02:00
Diogo Resende
bbb845b20b Adds newline at end of file 2015-09-30 17:28:06 +00:00
Diogo Resende
63a6259328 Adds missing plural form of applications of previous commit 2015-09-30 17:26:55 +00:00
Diogo Resende
e471356f76 Fixes english information paragraph in admin/applications view 2015-09-30 08:34:00 +00:00
Douwe Maan
ae09c2a6db Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Robert Speicher
b9069f31b9 Make the New Application form's error messages visible 2015-04-07 13:01:30 -04:00
Dmitriy Zaporozhets
30ca451fd4 Refactor buttons 2015-03-14 00:29:32 -07:00
Vinnie Okada
e0f61a59b4 Use shorter map() syntax 2015-02-15 20:50:53 -07:00
Vinnie Okada
9e0467c38e Fix application client count
Display the number of unique users with an access token instead of the
total number of access tokens per application in the admin area.
2015-02-15 15:53:33 -07:00
Valery Sizov
1809b3ee36 Spinach for admin applications 2015-01-19 11:18:00 -08:00
Dmitriy Zaporozhets
a81081aa72 Small improvements to CI 2015-01-17 16:17:34 -08:00
Valery Sizov
20028523b5 Application admin scaffold 2015-01-17 15:40:09 -08:00