Fossil

Check-in [3b09348fd4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix artifact links for ticket attachments.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3b09348fd48fd3662c96b2eba562716d4e066dd9
User & Date: mistachkin 2013-03-05 01:26:02.640
Context
2013-03-05
01:27
Revert check-in [3a74f9fe52], which added a special warning for overly long lines being detected as binary files. ... (check-in: ccdd1abba7 user: mistachkin tags: trunk)
01:26
Fix artifact links for ticket attachments. ... (check-in: 3b09348fd4 user: mistachkin tags: trunk)
2013-03-04
19:18
revert [9122ad308a]. It appears that file_access() cannot bries on win32 ... (check-in: 1eb9496c48 user: jan.nijtmans tags: trunk)
2013-02-27
23:41
Fix artifact links for ticket attachments. ... (Closed-Leaf check-in: b061772ddf user: mistachkin tags: tktAttachmentLinks)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/tkt.c.
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
      const char *zUser = db_column_text(&q, 5);
      if( zSrc==0 || zSrc[0]==0 ){
        @ 
        @ <li><p>Delete attachment "%h(zFile)"
      }else{
        @ 
        @ <li><p>Add attachment
        @ "%z(href("%R/artifact/%S",zSrc))%h(zFile)</a>"
      }
      @ [%z(href("%R/artifact/%T",zChngUuid))%s(zShort)</a>]
      @ (rid %d(rid)) by
      hyperlink_to_user(zUser,zDate," on");
      hyperlink_to_date(zDate, ".</p>");
    }else{
      pTicket = manifest_get(rid, CFTYPE_TICKET);







|







932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
      const char *zUser = db_column_text(&q, 5);
      if( zSrc==0 || zSrc[0]==0 ){
        @ 
        @ <li><p>Delete attachment "%h(zFile)"
      }else{
        @ 
        @ <li><p>Add attachment
        @ "%z(href("%R/artifact/%S",zSrc))%s(zFile)</a>"
      }
      @ [%z(href("%R/artifact/%T",zChngUuid))%s(zShort)</a>]
      @ (rid %d(rid)) by
      hyperlink_to_user(zUser,zDate," on");
      hyperlink_to_date(zDate, ".</p>");
    }else{
      pTicket = manifest_get(rid, CFTYPE_TICKET);