Commit d4052923 authored by gitlabhq's avatar gitlabhq

project page fixed

parent 9bf39477
app/assets/images/images.png

6.32 KB | W: | H:

app/assets/images/images.png

8.49 KB | W: | H:

app/assets/images/images.png
app/assets/images/images.png
app/assets/images/images.png
app/assets/images/images.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
- if content_for?(:page_title) - if content_for?(:page_title)
= yield :page_title = yield :page_title
- else - else
.grid-4 .grid_4
.container_3 .container_3
%h2.icon %h2.icon
%span= controller.controller_name.capitalize %span= controller.controller_name.capitalize
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
= javascript_tag do = javascript_tag do
REQ_URI = "#{request.env["REQUEST_URI"]}"; REQ_URI = "#{request.env["REQUEST_URI"]}";
REQ_REFFER = "#{request.env["HTTP_REFERER"]}"; REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
%body#thebody %body{ :class => yield(:body_class), :id => yield(:boyd_id)}
#container #container
= render :partial => "layouts/flash" = render :partial => "layouts/flash"
= render :partial => "layouts/head_panel" = render :partial => "layouts/head_panel"
......
- @projects.in_groups_of(3, false) do |projects| - @projects.in_groups_of(3, false) do |projects|
- projects.each_with_index do |project, i| - projects.each_with_index do |project, i|
%div.grid_1 %div.grid_1
%div{ :class => "project-box ui-box ui-box-big", :style => i == 2 ? "" : "margin-right:30px;" } %div{ :class => "project-box ui-box ui-box-big" }
= link_to project_path(project) do = link_to project_path(project) do
%h3= project.name %h3= project.name
.data .data
......
- content_for(:body_class, "projects-page")
- content_for(:page_title) do - content_for(:page_title) do
.grid-4 .grid_4
%h2.icon
- if current_user.can_create_project? - if current_user.can_create_project?
%a.grey-button.right{:href => new_project_path} Create new project %a.grey-button.right{:href => new_project_path} Create new project
%h2.icon
%span %span
Projects Projects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment