OSDN Git Service

add missing mandatory tr in thead
authorCyril <jv.cyril@gmail.com>
Tue, 11 Dec 2012 01:39:05 +0000 (02:39 +0100)
committerCyril <jv.cyril@gmail.com>
Tue, 11 Dec 2012 01:39:05 +0000 (02:39 +0100)
app/views/admin/groups/index.html.haml
app/views/admin/projects/index.html.haml
app/views/admin/users/index.html.haml
app/views/milestones/show.html.haml
app/views/tree/_tree.html.haml

index 6fbeed8..49acedc 100644 (file)
 
 %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
index 605a733..4b46d5f 100644 (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
index 7544a73..3108442 100644 (file)
 
 %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
index b8bc788..7a34710 100644 (file)
   .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
   .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
index 02ae3d9..a632bb3 100644 (file)
   - 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