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

curcuru 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 43b29d6  Add pointer to source data
43b29d6 is described below

commit 43b29d630fe69c944e982876e55444e1e15504d1
Author: Shane Curcuru <[email protected]>
AuthorDate: Mon Mar 26 08:42:02 2018 -0400

    Add pointer to source data
---
 www/roster/views/duties.html.rb | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/www/roster/views/duties.html.rb b/www/roster/views/duties.html.rb
index 7e9fddf..29fb91a 100644
--- a/www/roster/views/duties.html.rb
+++ b/www/roster/views/duties.html.rb
@@ -117,6 +117,20 @@ _html do
             end
           end
         end
+        
+        # ********************************************************************
+        # *                           Source Code                            *
+        # ********************************************************************
+        _ul.list_group do
+          _li.list_group_item.active do 
+            _h4.text_warning('See This Source File')
+          end
+          _li.list_group_item do
+            txtnam = File.basename("#{ENV['REQUEST_URI']}").sub('.cgi', '.txt')
+            _a "foundation/officers/personnel-duties/#{txtnam}", href: 
"https://svn.apache.org/repos/private/foundation/officers/personnel-duties/#{txtnam}";
+          end
+        end
+        
       end
     end
   end

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to