design tab improved. Themes added

This commit is contained in:
Dmitriy Zaporozhets 2012-03-01 21:23:50 +02:00
parent ed75afbb10
commit 00028702fc
10 changed files with 64 additions and 21 deletions

View file

@ -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