OSDN Git Service

Restyle public access help page
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 27 Nov 2013 11:26:16 +0000 (13:26 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 27 Nov 2013 11:26:16 +0000 (13:26 +0200)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/help/public_access.html.haml

index b7579cb..ac9ae21 100644 (file)
     %br
     Internal projects will only be available to authenticated users.
 
-  %hr
-  %h4
-    = public_icon
-    &nbsp;
-    Public projects
-  %p
-    Public project can be cloned
-    %strong without any
-    authentication.
-    %br
-    It will also be listed on the #{link_to "public access directory", public_root_path}."
-    %br
-    %strong Any logged in user
-    will have #{link_to "Guest", help_permissions_path} permissions on the repository."
-
-  %hr
-  %h4
-    = internal_icon
-    &nbsp;
-    Internal projects
-  %p
-    Internal project can be cloned by any logged in user.
-    %br
-    It will also be listed on the #{link_to "public access directory", public_root_path} for logged in users.
-    %br
-    Any logged in user will have #{link_to "Guest", help_permissions_path} permissions on the repository.
+  .clearfix
+    .dashboard-intro-icon
+      = public_icon
+    %h4
+      Public projects
+    %p
+      Public project can be cloned
+      %strong without any
+      authentication.
+      %br
+      It will also be listed on the #{link_to "public access directory", public_root_path}."
+      %br
+      %strong Any logged in user
+      will have #{link_to "Guest", help_permissions_path} permissions on the repository."
 
-  %hr
+  .clearfix
+    .dashboard-intro-icon
+      = internal_icon
+    %h4
+      Internal projects
+    %p
+      Internal project can be cloned by any logged in user.
+      %br
+      It will also be listed on the #{link_to "public access directory", public_root_path} for logged in users.
+      %br
+      Any logged in user will have #{link_to "Guest", help_permissions_path} permissions on the repository.
 
   %h4 How to change project visibility
   %ol