Showing 3 changed files with 5 additions and 9 deletions
+2 -2
lib/Gitprep.pm
... ...
@@ -84,8 +84,8 @@ sub startup {
84 84
     $r->any('/user')->to('#user');
85 85
   }
86 86
 
87
-  # Projects
88
-  $r->get('/:user')->to('#projects');
87
+  # User
88
+  $r->get('/:user')->to('#user');
89 89
   
90 90
   # Project
91 91
   {
-4
templates/include/current_directory.html.ep
... ...
@@ -1,4 +0,0 @@
1
-<div>
2
-  <a href="<%= url_for '/' %>">home</a> &gt;
3
-  <a href="<%= url_for('projects', home => $home_ns) %>"><%= $home %></a>
4
-</div>
+3 -3
templates/main/projects.html.ep → templates/main/user.html.ep
... ...
@@ -2,7 +2,7 @@
2 2
   my $root = config->{root};
3 3
   my $user = param('user');
4 4
   
5
-  # Repositories
5
+  # Projects
6 6
   my $reps = app->git->projects("/$root/$user");
7 7
 %>
8 8
 
... ...
@@ -17,7 +17,7 @@
17 17
         <li><a href="<%= url_for %>"><%= $user %></a></li>
18 18
       </ul>
19 19
 
20
-      <h3>Repositories</h3>
20
+      <h3>Projects</h3>
21 21
       
22 22
       <table class="table">
23 23
         % for my $rep (@$reps) {
... ...
@@ -31,7 +31,7 @@
31 31
               <td>
32 32
                 <%= $rep->{descr} %>
33 33
               </td>
34
-              <td>last updated <%= $rep->{age_string} %></td>
34
+              <td class="muted">last updated <%= $rep->{age_string} %></td>
35 35
             </div>
36 36
           </tr>
37 37
         % }