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].
Commit
c4c64257cf2c4e145701ed720cca1f931b0c894aeb003947f92f8140ea771b59
Parent
129ea22423ee20b…
1 file changed
+7
-1
+7
-1
| --- skins/eagle/header.txt | ||
| +++ skins/eagle/header.txt | ||
| @@ -56,11 +56,17 @@ | ||
| 56 | 56 | } else { |
| 57 | 57 | set logourl $baseurl |
| 58 | 58 | } |
| 59 | 59 | return $logourl |
| 60 | 60 | } |
| 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 | + } | |
| 62 | 68 | </th1> |
| 63 | 69 | <a href="$logourl"> |
| 64 | 70 | <img src="$logo_image_url" border="0" alt="$project_name"> |
| 65 | 71 | </a> |
| 66 | 72 | </div> |
| 67 | 73 |
| --- 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 |