project tile view

This commit is contained in:
gitlabhq 2011-10-11 23:00:00 +03:00
parent 94cdafe79a
commit eefe826f83
13 changed files with 131 additions and 27 deletions

View file

@ -1,2 +1,6 @@
module ProjectsHelper
def view_mode_style(type)
cookies["project_view"] ||= "tile"
cookies["project_view"] == type ? nil : "display:none"
end
end