design tab improved. Themes added
This commit is contained in:
parent
ed75afbb10
commit
00028702fc
10 changed files with 64 additions and 21 deletions
|
@ -113,4 +113,12 @@ module ApplicationHelper
|
|||
def layout
|
||||
controller.send :_layout
|
||||
end
|
||||
|
||||
def app_theme
|
||||
if current_user && current_user.theme_id == 1
|
||||
"ui_basic"
|
||||
else
|
||||
"ui_mars"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue