Merge branch 'master' into deploy_keys
Conflicts: app/models/project.rb
This commit is contained in:
commit
f8ad4d2b42
35 changed files with 556 additions and 90 deletions
|
@ -18,8 +18,7 @@
|
|||
|
||||
%hr
|
||||
%pre.commit_message
|
||||
= preserve @commit.safe_message
|
||||
|
||||
= commit_msg_with_link_to_issues(@project, @commit.safe_message)
|
||||
.clear
|
||||
%br
|
||||
|
||||
|
|
|
@ -21,16 +21,18 @@
|
|||
<%= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input" %>
|
||||
</div>
|
||||
<!-- .login-top -->
|
||||
<nav>
|
||||
<%= link_to dashboard_path, :class => current_page?(root_path) ? "current dashboard" : "dashboard" do %>
|
||||
<nav class="<%= 'shorter_nav' unless current_user.is_admin? %>">
|
||||
<%= link_to dashboard_path, :class => "#{'current' if current_page?(root_path)} dashboard" do %>
|
||||
<span></span>Dashboard
|
||||
<% end %>
|
||||
<%= link_to projects_path, :class => current_page?(projects_path) ? "current project" : "project" do %>
|
||||
<%= link_to projects_path, :class =>"#{'current' if current_page?(projects_path)} project #{'last_elem' unless current_user.is_admin?}" do %>
|
||||
<span></span>Projects
|
||||
<% end %>
|
||||
<%= link_to((current_user.is_admin? ? admin_root_path : "#"), :class => (admin_namespace? ? "current admin" : "admin")) do %>
|
||||
<span></span>Admin
|
||||
<% end %>
|
||||
<% if current_user.is_admin? %>
|
||||
<%= link_to((current_user.is_admin? ? admin_root_path : "#"), :class => "#{'current' if admin_namespace?} admin last_elem") do %>
|
||||
<span></span>Admin
|
||||
<% end %>
|
||||
<% end %>
|
||||
</nav>
|
||||
|
||||
</header>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
%head
|
||||
%title
|
||||
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
|
||||
= favicon_link_tag 'favicon.ico'
|
||||
= stylesheet_link_tag "application"
|
||||
= javascript_include_tag "application"
|
||||
= csrf_meta_tags
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
%head
|
||||
%title
|
||||
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
|
||||
= favicon_link_tag 'favicon.ico'
|
||||
= stylesheet_link_tag "application"
|
||||
= javascript_include_tag "application"
|
||||
= csrf_meta_tags
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
%head
|
||||
%title
|
||||
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
|
||||
= favicon_link_tag 'favicon.ico'
|
||||
= stylesheet_link_tag "application"
|
||||
= javascript_include_tag "application"
|
||||
= csrf_meta_tags
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
%head
|
||||
%title
|
||||
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
|
||||
= favicon_link_tag 'favicon.ico'
|
||||
= stylesheet_link_tag "application"
|
||||
= javascript_include_tag "application"
|
||||
- if current_page?(tree_project_ref_path(@project, @project.root_ref)) || current_page?(project_commits_path(@project))
|
||||
|
|
|
@ -22,13 +22,15 @@
|
|||
%br
|
||||
%br
|
||||
= f.file_field :attachment
|
||||
|
||||
%p.notify_controls
|
||||
%span Notify:
|
||||
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
||||
= label_tag :notify, "Project team"
|
||||
|
||||
= check_box_tag :notify, 1, @note.noteable_type != "Commit"
|
||||
= label_tag :notify, "Notify project team about your note"
|
||||
|
||||
-if @note.noteable_type == "Commit"
|
||||
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
|
||||
= label_tag :notify_author, "Notify commit author about your note"
|
||||
-if @note.noteable_type == "Commit"
|
||||
= check_box_tag :notify_author, 1 , @note.noteable_type == "Commit"
|
||||
= label_tag :notify_author, "Commit author"
|
||||
|
||||
.clear
|
||||
%br
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue