Merge pull request #2250 from jouve/fix_missing_tr_in_thead

add missing mandatory tr in thead
This commit is contained in:
Dmitriy Zaporozhets 2012-12-16 08:16:42 -08:00
commit 26afde94fd
5 changed files with 42 additions and 36 deletions

View file

@ -12,13 +12,14 @@
%table
%thead
%th
Name
%i.icon-sort-down
%th Path
%th Projects
%th Owner
%th.cred Danger Zone!
%tr
%th
Name
%i.icon-sort-down
%th Path
%th Projects
%th Owner
%th.cred Danger Zone!
- @groups.each do |group|
%tr

View file

@ -9,14 +9,15 @@
%table
%thead
%th
Name
%i.icon-sort-down
%th Path
%th Team Members
%th Last Commit
%th Edit
%th.cred Danger Zone!
%tr
%th
Name
%i.icon-sort-down
%th Path
%th Team Members
%th Last Commit
%th Edit
%th.cred Danger Zone!
- @projects.each do |project|
%tr

View file

@ -21,15 +21,16 @@
%table
%thead
%th Admin
%th
Name
%i.icon-sort-down
%th Username
%th Email
%th Projects
%th Edit
%th.cred Danger Zone!
%tr
%th Admin
%th
Name
%i.icon-sort-down
%th Username
%th Email
%th Projects
%th Edit
%th.cred Danger Zone!
- @admin_users.each do |user|
%tr

View file

@ -59,10 +59,11 @@
.span6
%table.milestone-issue-filter
%thead
%th
%ul.nav.nav-pills
%li.active= link_to('Open Issues', '#')
%li=link_to('All Issues', '#')
%tr
%th
%ul.nav.nav-pills
%li.active= link_to('Open Issues', '#')
%li=link_to('All Issues', '#')
- @issues.each do |issue|
%tr{data: {closed: issue.closed}}
%td
@ -74,10 +75,11 @@
.span6
%table.milestone-merge-requests-filter
%thead
%th
%ul.nav.nav-pills
%li.active= link_to('Open Merge Requests', '#')
%li=link_to('All Merge Requests', '#')
%tr
%th
%ul.nav.nav-pills
%li.active= link_to('Open Merge Requests', '#')
%li=link_to('All Merge Requests', '#')
- @merge_requests.each do |merge_request|
%tr{data: {closed: merge_request.closed}}
%td

View file

@ -16,10 +16,11 @@
- else
%table#tree-slider{class: "table_#{@hex_path} tree-table" }
%thead
%th Name
%th Last Update
%th Last Commit
%th= link_to "history", project_commits_path(@project, @id), class: "btn very_small right"
%tr
%th Name
%th Last Update
%th Last Commit
%th= link_to "history", project_commits_path(@project, @id), class: "btn very_small right"
- if tree.up_dir?
%tr.tree-item