Fossil SCM

Eagle skin: added a toggle in the header to switch the logo link between the historical behavior (link to top of the current domain) and new (link to top of current repo), defaulting to the original behavior. [forum:f7a84dc19d51efa8|Forum post f7a84dc19d51efa8].

stephan 2021-09-16 15:36 trunk
Commit c4c64257cf2c4e145701ed720cca1f931b0c894aeb003947f92f8140ea771b59
1 file changed +7 -1
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -56,11 +56,17 @@
5656
} else {
5757
set logourl $baseurl
5858
}
5959
return $logourl
6060
}
61
- set logourl [getLogoUrl $baseurl]
61
+ if {1} {
62
+ # Link logo to the top of the current domain
63
+ set logourl [getLogoUrl $baseurl]
64
+ } else {
65
+ # Link logo to the top of the current repo
66
+ set logourl $baseurl
67
+ }
6268
</th1>
6369
<a href="$logourl">
6470
<img src="$logo_image_url" border="0" alt="$project_name">
6571
</a>
6672
</div>
6773
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -56,11 +56,17 @@
56 } else {
57 set logourl $baseurl
58 }
59 return $logourl
60 }
61 set logourl [getLogoUrl $baseurl]
 
 
 
 
 
 
62 </th1>
63 <a href="$logourl">
64 <img src="$logo_image_url" border="0" alt="$project_name">
65 </a>
66 </div>
67
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -56,11 +56,17 @@
56 } else {
57 set logourl $baseurl
58 }
59 return $logourl
60 }
61 if {1} {
62 # Link logo to the top of the current domain
63 set logourl [getLogoUrl $baseurl]
64 } else {
65 # Link logo to the top of the current repo
66 set logourl $baseurl
67 }
68 </th1>
69 <a href="$logourl">
70 <img src="$logo_image_url" border="0" alt="$project_name">
71 </a>
72 </div>
73

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button