Showing 4 changed files with 3 additions and 13 deletions
+1 -4
templates/blame.html.ep
... ...
@@ -57,10 +57,7 @@
57 57
   
58 58
   <!-- Blame page -->
59 59
   <div class="container">
60
-    <div style="margin-bottom:20px;">
61
-      %= include '/include/branch_select', display => 'files';
62
-    </div>
63
-    %= include '/include/page_path', type => 'blob', Path => $file;
60
+    %= include '/include/page_path', Path => $file;
64 61
     <div class="text-right" style="margin-bottom:10px">
65 62
       Newer
66 63
       % for my $color (@$colors) {
-4
templates/compare.html.ep
... ...
@@ -95,10 +95,6 @@
95 95
   %= include '/include/header';
96 96
 
97 97
   <div class="container">
98
-    <div style="margin-bottom:20px;">
99
-      %= include '/include/branch_select', display => 'files';
100
-    </div>
101
-    
102 98
     <h2>Compare View</h2>
103 99
     <div class="well" style="padding:9px 10px 9px 10px;margin-bottom:5px;position:relative">
104 100
       <div class="row">
+2 -2
templates/include/branch_select.html.ep
... ...
@@ -9,7 +9,7 @@
9 9
   my $logined = $api->logined;
10 10
 
11 11
   my $type
12
-    = $display eq 'tree' || $display eq 'tree_top' || $display eq 'blob' || $display eq 'files'
12
+    = $display eq 'tree' || $display eq 'tree_top' || $display eq 'blob'
13 13
     ? 'tree' : 'commits';
14 14
   
15 15
   my $path = stash('Path');
... ...
@@ -99,7 +99,7 @@
99 99
   %>
100 100
   <div class="span2">
101 101
     <button id="rev-btn" class="btn" style="font-size:13px;padding:2px 10px;margin-right:6px">
102
-      <i class="icon-share-alt"></i><span class="muted"><%= $title %>:</span> <b><%= $rev_short %></b>
102
+      <span class="muted"><%= $title %>:</span> <b><%= $rev_short %></b> <i class="icon-arrow-down"></i>
103 103
     </button>
104 104
   </div>
105 105
   % if ($display eq 'tree_top') {
-3
templates/submodule.html.ep
... ...
@@ -45,9 +45,6 @@
45 45
   %= include '/include/header';
46 46
 
47 47
   <div class="container">
48
-    <div style="margin-bottom:20px;">
49
-      %= include '/include/branch_select', display => 'files';
50
-    </div>
51 48
     %= include '/include/page_path', type => 'blob', Path => $file;
52 49
         
53 50
     <div class="border-gray bk-gray-light" style="padding:5px; border-bottom:none">