Robert Speicher
7a81dc65d9
Re-add user_color_scheme helper
...
Update PreferencesHelper specs
2015-08-26 11:33:44 -07:00
Robert Speicher
2c3e42e4a4
Remove user_color_scheme_class
...
Instead of rendering this value server-side, we use Javascript and Gon
to apply the user's color scheme (or the default) to any syntax
highlighted code blocks.
This will make it easier to cache these blocks in the future because
they're no longer state-dependent.
2015-08-25 15:32:38 -07:00
Robert Speicher
4344b8d2d4
Add Gitlab::ColorSchemes module
...
Very similar to Gitlab::Theme, this contains all of the definitions for
our syntax highlighting schemes.
2015-08-25 15:32:38 -07:00
Dmitriy Zaporozhets
5f34759ecb
Allow user to specify content he wants to see on project page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-13 18:24:15 +02:00
Robert Speicher
d2894a39e5
Refactor dashboard_choices
2015-06-13 17:59:13 -04:00
Robert Speicher
fb5271ddf1
Make the dashboard choice text match the text in the sidebar
2015-06-13 17:59:12 -04:00
Robert Speicher
1eb9a02f21
Add a form field to customize the dashboard preference
2015-06-13 17:59:11 -04:00
Robert Speicher
8112f7550b
Add PreferencesHelper module
...
Consolidates the helpers related to user preferences.
Renames `app_theme` to `user_application_theme` to better explain what
it is.
2015-06-13 17:58:16 -04:00