updated
This commit is contained in:
parent
d405292388
commit
0903932320
4 changed files with 28 additions and 25 deletions
|
@ -2,6 +2,7 @@ require "base64"
|
||||||
|
|
||||||
class CommitsController < ApplicationController
|
class CommitsController < ApplicationController
|
||||||
before_filter :project
|
before_filter :project
|
||||||
|
layout "project"
|
||||||
|
|
||||||
# Authorize
|
# Authorize
|
||||||
before_filter :add_project_abilities
|
before_filter :add_project_abilities
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
class SnippetsController < ApplicationController
|
class SnippetsController < ApplicationController
|
||||||
before_filter :authenticate_user!
|
before_filter :authenticate_user!
|
||||||
before_filter :project
|
before_filter :project
|
||||||
|
layout "project"
|
||||||
|
|
||||||
# Authorize
|
# Authorize
|
||||||
before_filter :add_project_abilities
|
before_filter :add_project_abilities
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
class TeamMembersController < ApplicationController
|
class TeamMembersController < ApplicationController
|
||||||
before_filter :project
|
before_filter :project
|
||||||
|
layout "project"
|
||||||
|
|
||||||
# Authorize
|
# Authorize
|
||||||
before_filter :add_project_abilities
|
before_filter :add_project_abilities
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
#container
|
#container
|
||||||
= render :partial => "layouts/flash"
|
= render :partial => "layouts/flash"
|
||||||
= render :partial => "layouts/head_panel"
|
= render :partial => "layouts/head_panel"
|
||||||
= render :partial => "layouts/page_title"
|
|
||||||
.project-container
|
.project-container
|
||||||
.project-sidebar.grid_1
|
.project-sidebar
|
||||||
|
.fixed
|
||||||
%input.git-url.text{:id => "", :name => "", :readonly => "", :type => "text", :value => @project.url_to_repo}
|
%input.git-url.text{:id => "", :name => "", :readonly => "", :type => "text", :value => @project.url_to_repo}
|
||||||
%aside
|
%aside
|
||||||
= link_to image_tag("home.png", :width => 20), project_path(@project), :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil
|
= link_to image_tag("home.png", :width => 20), project_path(@project), :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil
|
||||||
|
|
Loading…
Reference in a new issue