Fossil SCM

Fix internal links on the 'attachlist' page. Reported via the mailing list.

mistachkin 2015-01-21 17:38 trunk
Commit 0438d06635892890f39f78995799539d25607e23
1 file changed +2 -2
+2 -2
--- src/attach.c
+++ src/attach.c
@@ -90,12 +90,12 @@
9090
@ <li><p>
9191
@ Attachment %z(href("%R/ainfo/%s",zUuid))%S(zUuid)</a>
9292
if( moderation_pending(attachid) ){
9393
@ <span class="modpending">*** Awaiting Moderator Approval ***</span>
9494
}
95
- @ <br><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a>
96
- @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
95
+ @ <br><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a>
96
+ @ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
9797
if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++;
9898
if( zComment && zComment[0] ){
9999
@ %!w(zComment)<br />
100100
}
101101
if( zPage==0 && zTkt==0 ){
102102
--- src/attach.c
+++ src/attach.c
@@ -90,12 +90,12 @@
90 @ <li><p>
91 @ Attachment %z(href("%R/ainfo/%s",zUuid))%S(zUuid)</a>
92 if( moderation_pending(attachid) ){
93 @ <span class="modpending">*** Awaiting Moderator Approval ***</span>
94 }
95 @ <br><a href="/attachview?%s(zUrlTail)">%h(zFilename)</a>
96 @ [<a href="/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
97 if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++;
98 if( zComment && zComment[0] ){
99 @ %!w(zComment)<br />
100 }
101 if( zPage==0 && zTkt==0 ){
102
--- src/attach.c
+++ src/attach.c
@@ -90,12 +90,12 @@
90 @ <li><p>
91 @ Attachment %z(href("%R/ainfo/%s",zUuid))%S(zUuid)</a>
92 if( moderation_pending(attachid) ){
93 @ <span class="modpending">*** Awaiting Moderator Approval ***</span>
94 }
95 @ <br><a href="%R/attachview?%s(zUrlTail)">%h(zFilename)</a>
96 @ [<a href="%R/attachdownload/%t(zFilename)?%s(zUrlTail)">download</a>]<br />
97 if( zComment ) while( fossil_isspace(zComment[0]) ) zComment++;
98 if( zComment && zComment[0] ){
99 @ %!w(zComment)<br />
100 }
101 if( zPage==0 && zTkt==0 ){
102

Keyboard Shortcuts

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