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)
= yield :page_title
- else
.grid-4
.grid_4
.container_3
%h2.icon
%span= controller.controller_name.capitalize
......@@ -14,7 +14,7 @@
= javascript_tag do
REQ_URI = "#{request.env["REQUEST_URI"]}";
REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
%body#thebody
%body{ :class => yield(:body_class), :id => yield(:boyd_id)}
#container
= render :partial => "layouts/flash"
= render :partial => "layouts/head_panel"
......
- @projects.in_groups_of(3, false) do |projects|
- projects.each_with_index do |project, i|
%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
%h3= project.name
.data
......
- content_for(:body_class, "projects-page")
- content_for(:page_title) do
.grid-4
%h2.icon
- if current_user.can_create_project?
%a.grey-button.right{:href => new_project_path} Create new project
.grid_4
- if current_user.can_create_project?
%a.grey-button.right{:href => new_project_path} Create new project
%h2.icon
%span
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