Fossil SCM
Fix the hyperlink to the login page on /download page.
Commit
ad5999aa6a594ec5ff9034ca422b05417712d8d33af24b75a4aa515fcbe0ce38
Parent
9fae21515191cc6…
1 file changed
+2
-2
+2
-2
| --- src/clone.c | ||
| +++ src/clone.c | ||
| @@ -314,11 +314,11 @@ | ||
| 314 | 314 | style_header("Download Page"); |
| 315 | 315 | if( !g.perm.Zip ){ |
| 316 | 316 | @ <p>Bummer. You do not have permission to download. |
| 317 | 317 | if( g.zLogin==0 || g.zLogin[0]==0 ){ |
| 318 | 318 | @ Maybe it would work better if you |
| 319 | - @ <a href="../login">logged in</a>. | |
| 319 | + @ %z(href("%R/login"))logged in</a>. | |
| 320 | 320 | }else{ |
| 321 | 321 | @ Contact the site administrator and ask them to give |
| 322 | 322 | @ you "Download Zip" privileges. |
| 323 | 323 | } |
| 324 | 324 | }else{ |
| @@ -333,11 +333,11 @@ | ||
| 333 | 333 | } |
| 334 | 334 | if( !g.perm.Clone ){ |
| 335 | 335 | @ <p>You are not authorized to clone this repository. |
| 336 | 336 | if( g.zLogin==0 || g.zLogin[0]==0 ){ |
| 337 | 337 | @ Maybe you would be able to clone if you |
| 338 | - @ <a href="../login">logged in</a>. | |
| 338 | + @ %z(href("%R/login"))logged in</a>. | |
| 339 | 339 | }else{ |
| 340 | 340 | @ Contact the site administrator and ask them to give |
| 341 | 341 | @ you "Clone" privileges in order to clone. |
| 342 | 342 | } |
| 343 | 343 | }else{ |
| 344 | 344 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -314,11 +314,11 @@ | |
| 314 | style_header("Download Page"); |
| 315 | if( !g.perm.Zip ){ |
| 316 | @ <p>Bummer. You do not have permission to download. |
| 317 | if( g.zLogin==0 || g.zLogin[0]==0 ){ |
| 318 | @ Maybe it would work better if you |
| 319 | @ <a href="../login">logged in</a>. |
| 320 | }else{ |
| 321 | @ Contact the site administrator and ask them to give |
| 322 | @ you "Download Zip" privileges. |
| 323 | } |
| 324 | }else{ |
| @@ -333,11 +333,11 @@ | |
| 333 | } |
| 334 | if( !g.perm.Clone ){ |
| 335 | @ <p>You are not authorized to clone this repository. |
| 336 | if( g.zLogin==0 || g.zLogin[0]==0 ){ |
| 337 | @ Maybe you would be able to clone if you |
| 338 | @ <a href="../login">logged in</a>. |
| 339 | }else{ |
| 340 | @ Contact the site administrator and ask them to give |
| 341 | @ you "Clone" privileges in order to clone. |
| 342 | } |
| 343 | }else{ |
| 344 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -314,11 +314,11 @@ | |
| 314 | style_header("Download Page"); |
| 315 | if( !g.perm.Zip ){ |
| 316 | @ <p>Bummer. You do not have permission to download. |
| 317 | if( g.zLogin==0 || g.zLogin[0]==0 ){ |
| 318 | @ Maybe it would work better if you |
| 319 | @ %z(href("%R/login"))logged in</a>. |
| 320 | }else{ |
| 321 | @ Contact the site administrator and ask them to give |
| 322 | @ you "Download Zip" privileges. |
| 323 | } |
| 324 | }else{ |
| @@ -333,11 +333,11 @@ | |
| 333 | } |
| 334 | if( !g.perm.Clone ){ |
| 335 | @ <p>You are not authorized to clone this repository. |
| 336 | if( g.zLogin==0 || g.zLogin[0]==0 ){ |
| 337 | @ Maybe you would be able to clone if you |
| 338 | @ %z(href("%R/login"))logged in</a>. |
| 339 | }else{ |
| 340 | @ Contact the site administrator and ask them to give |
| 341 | @ you "Clone" privileges in order to clone. |
| 342 | } |
| 343 | }else{ |
| 344 |