Showing 1 changed files with 19 additions and 20 deletions
+19 -20
templates/user.html.ep
... ...
@@ -46,27 +46,26 @@
46 46
           % if (!$rep->{private} || $api->can_access_private_project($user, $rep->{name})) {
47 47
             <tr>
48 48
               % my $pname = $rep->{name};
49
-                <td>
50
-                  <a href="<%= url_for("/$user/$pname") %>">
51
-                    <%= $rep->{name} %>
52
-                    % if ($rep->{private}) {
53
-                      <i class="icon icon-lock" style="margin-left:5px;margin-right:5px"></i>
54
-                    % }
55
-                  </a>
56
-                </td>
57
-                <td>
58
-                  <%= $rep->{description} %>
59
-                </td>
60
-                % my $age = $rep->{age_string};
61
-                <td class="muted">
62
-                  % if ($rep->{none}) {
63
-                    <span style="color:red">Repository not exists</span>
64
-                    <a href="<%= "/$user/$rep->{name}/settings" %>" class="btn btn-mini">Settings</a>
65
-                  % } else {
66
-                    <%= $age ? "last updated $age" : 'new repository' %>
49
+              <td>
50
+                <a href="<%= url_for("/$user/$pname") %>">
51
+                  <%= $rep->{name} %>
52
+                  % if ($rep->{private}) {
53
+                    <i class="icon icon-lock" style="margin-left:5px;margin-right:5px"></i>
67 54
                   % }
68
-                </td>
69
-              </div>
55
+                </a>
56
+              </td>
57
+              <td>
58
+                <%= $rep->{description} %>
59
+              </td>
60
+              % my $age = $rep->{age_string};
61
+              <td class="muted">
62
+                % if ($rep->{none}) {
63
+                  <span style="color:red">Repository not exists</span>
64
+                  <a href="<%= "/$user/$rep->{name}/settings" %>" class="btn btn-mini">Settings</a>
65
+                % } else {
66
+                  <%= $age ? "last updated $age" : 'new repository' %>
67
+                % }
68
+              </td>
70 69
             </tr>
71 70
           % }
72 71
         % }