Added instructions to sysadmin notes for placing a 'tags' button on the gitweb toolbar.
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 22 Nov 2020 09:37:20 +0000 (01:37 -0800)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sun, 22 Nov 2020 09:37:20 +0000 (01:37 -0800)
data/notes/mail_web_git_server.md

index faa352d..aa297bb 100644 (file)
@@ -459,9 +459,13 @@ Remember to set that up.
     
     # HTML text to include as home page header.
     $home_text = "indextext.html";
     
     # HTML text to include as home page header.
     $home_text = "indextext.html";
-    
-    # Add a toolbar option with the 'git clone url'.
-    $feature{'actions'}{'default'} = [('clone url', 'git://git.subgeniuskitty.com/%n', 'summary')];
+   
+    # Add a toolbar option with the 'git clone url' and an
+    # option to display all tags.
+    $feature{'actions'}{'default'} = [
+        ('clone url', 'git://git.subgeniuskitty.com/%n', 'summary'),
+        ('tags', 'https://git.subgeniuskitty.com/%n/tags', 'summary')
+    ];
     
     # Category name is read from .git/category, in the same manner as .git/description.
     $projects_list_group_categories = 1;
     
     # Category name is read from .git/category, in the same manner as .git/description.
     $projects_list_group_categories = 1;