You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/06/13 11:15:46 UTC

[whimsy] branch master updated: Add self link to roster index

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 65e53a0  Add self link to roster index
65e53a0 is described below

commit 65e53a0e6cd7a4094d8f78396096719132fd4dde
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jun 13 12:15:37 2020 +0100

    Add self link to roster index
    
    This fixes #92
---
 www/roster/views/index.html.rb | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/www/roster/views/index.html.rb b/www/roster/views/index.html.rb
index cb35a40..ef1e062 100644
--- a/www/roster/views/index.html.rb
+++ b/www/roster/views/index.html.rb
@@ -16,6 +16,16 @@ _html do
       person = ASF::Person.find(env.user)
       _table.counts do
 
+        _tr do
+          _td do
+            _a '1', href: 'committer/__self__'
+          end
+          _td do
+            _a env.user, href: 'committer/__self__'
+          end
+          _td 'Your personal page'
+        end
+
         ### committers
 
         _tr do