clean up whitespace from project
This commit is contained in:
parent
415eddaf39
commit
368deb5992
50 changed files with 356 additions and 413 deletions
|
@ -5,11 +5,11 @@
|
|||
%span.update-author
|
||||
%strong= update.author_name
|
||||
authored
|
||||
= time_ago_in_words(update.created_at)
|
||||
= time_ago_in_words(update.created_at)
|
||||
ago
|
||||
.right
|
||||
- klass = update.class.to_s.split("::").last.downcase
|
||||
%span.tag{ :class => klass }= klass
|
||||
- if update.kind_of?(Grit::Commit)
|
||||
- if update.kind_of?(Grit::Commit)
|
||||
%span.tag.commit= update.head.name
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
= form_for(@project, :remote => true) do |f|
|
||||
%div.form_content
|
||||
- unless @project.new_record?
|
||||
%h2.icon
|
||||
%h2.icon
|
||||
%span
|
||||
= @project.name
|
||||
- if @project.errors.any?
|
||||
|
@ -56,4 +56,4 @@
|
|||
:javascript
|
||||
$(function(){
|
||||
taggifyForm();
|
||||
})
|
||||
})
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
= project.name
|
||||
.small-tags= tag_list project
|
||||
|
||||
|
||||
%td= truncate project.url_to_repo
|
||||
%td= project.code
|
||||
%td= check_box_tag "read", 1, project.readers.include?(current_user), :disabled => :disabled
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
= form_tag destination, :method => :get, :class => "project-refs-form" do
|
||||
= select_tag "ref", grouped_options_refs, :onchange => "this.form.submit();", :class => "project-refs-select"
|
||||
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
$('.project-refs-select').chosen();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- projects.each_with_index do |project, i|
|
||||
%div.grid_1.projects_selector
|
||||
%div{ :class => "project-box ui-box ui-box-big" }
|
||||
= link_to project_path(project) do
|
||||
= link_to project_path(project) do
|
||||
%h3= truncate(project.name, :length => 20)
|
||||
.data
|
||||
%p.title.repository.git_url_wrapper
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
-#%a.right.button{:href => "#"} Download
|
||||
-#-if can? current_user, :admin_project, @project
|
||||
%a.right.button.blue{:href => "#"} EDIT
|
||||
|
@ -6,7 +5,7 @@
|
|||
%h2.icon
|
||||
%span
|
||||
%d
|
||||
= link_to tree_project_path(@project, :path => nil, :commit_id => @commit.try(:id)), :remote => true do
|
||||
= link_to tree_project_path(@project, :path => nil, :commit_id => @commit.try(:id)), :remote => true do
|
||||
= @project.name
|
||||
- if params[:path]
|
||||
- part_path = ""
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
.grid_4
|
||||
- if current_user.can_create_project?
|
||||
%a.grey-button.right{:href => new_project_path} Create new project
|
||||
%h2.icon
|
||||
%h2.icon
|
||||
%span
|
||||
Projects
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
- content_for(:body_class, "new-project-page")
|
||||
- content_for(:page_title) do
|
||||
.new-project-hodler
|
||||
.container
|
||||
%h2.icon
|
||||
%span
|
||||
New Project
|
||||
.new-project-hodler
|
||||
.container
|
||||
%h2.icon
|
||||
%span
|
||||
New Project
|
||||
|
||||
%div.clear
|
||||
= render 'form'
|
||||
%div.clear
|
||||
= render 'form'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue