Fossil SCM

Fix the hyperlink to the login page on /download page.

drh 2018-12-29 12:34 trunk merge
Commit ad5999aa6a594ec5ff9034ca422b05417712d8d33af24b75a4aa515fcbe0ce38
1 file changed +2 -2
+2 -2
--- src/clone.c
+++ src/clone.c
@@ -314,11 +314,11 @@
314314
style_header("Download Page");
315315
if( !g.perm.Zip ){
316316
@ <p>Bummer. You do not have permission to download.
317317
if( g.zLogin==0 || g.zLogin[0]==0 ){
318318
@ Maybe it would work better if you
319
- @ <a href="../login">logged in</a>.
319
+ @ %z(href("%R/login"))logged in</a>.
320320
}else{
321321
@ Contact the site administrator and ask them to give
322322
@ you "Download Zip" privileges.
323323
}
324324
}else{
@@ -333,11 +333,11 @@
333333
}
334334
if( !g.perm.Clone ){
335335
@ <p>You are not authorized to clone this repository.
336336
if( g.zLogin==0 || g.zLogin[0]==0 ){
337337
@ Maybe you would be able to clone if you
338
- @ <a href="../login">logged in</a>.
338
+ @ %z(href("%R/login"))logged in</a>.
339339
}else{
340340
@ Contact the site administrator and ask them to give
341341
@ you "Clone" privileges in order to clone.
342342
}
343343
}else{
344344
--- 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

Keyboard Shortcuts

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