| | @@ -763,14 +763,14 @@ |
| 763 | 763 | " AND tag.tagid=tagxref.tagid " |
| 764 | 764 | " AND +tag.tagname GLOB 'sym-*'", rid); |
| 765 | 765 | while( db_step(&q2)==SQLITE_ROW ){ |
| 766 | 766 | const char *zTagName = db_column_text(&q2, 0); |
| 767 | 767 | if( fossil_strcmp(zTagName,zBrName)==0 ){ |
| 768 | | - @ | <span class="copy-button" id="copy-br0" |
| 769 | | - @ data-copytarget="br0" data-copylength="0"> |
| 770 | | - @ </span> <span |
| 771 | | - @ id="br0">%z(href("%R/timeline?r=%T&unhide",zTagName))%h(zTagName)</a> |
| 768 | + @ | <span class="copy-button" id="copy-name-br" |
| 769 | + @ data-copytarget="name-br" data-copylength="0"> |
| 770 | + @ </span> <span id="name-br"><!-- |
| 771 | + @ -->%z(href("%R/timeline?r=%T&unhide",zTagName))%h(zTagName)</a> |
| 772 | 772 | @ </span> |
| 773 | 773 | if( wiki_tagid2("branch",zTagName)!=0 ){ |
| 774 | 774 | blob_appendf(&wiki_read_links, " | %z%h</a>", |
| 775 | 775 | href("%R/wiki?name=branch/%h",zTagName), zTagName); |
| 776 | 776 | }else if( g.perm.Write && g.perm.WrWiki ){ |
| | @@ -798,13 +798,13 @@ |
| 798 | 798 | @ | %z(href("%R/tree?nofiles&type=tree&ci=%!S",zUuid))folders</a> |
| 799 | 799 | @ </td> |
| 800 | 800 | @ </tr> |
| 801 | 801 | |
| 802 | 802 | @ <tr><th>%s(hname_alg(nUuid)):</th><td> |
| 803 | | - @ <span class="copy-button" id="copy-fullhash" |
| 804 | | - @ data-copytarget="fullhash" data-copylength="%d(hash_digits(1))"> |
| 805 | | - @ </span> <span id="fullhash">%.32s(zUuid)<wbr>%s(zUuid+32)</span> |
| 803 | + @ <span class="copy-button" id="copy-hash-ci" |
| 804 | + @ data-copytarget="hash-ci" data-copylength="%d(hash_digits(1))"> |
| 805 | + @ </span> <span id="hash-ci">%.32s(zUuid)<wbr>%s(zUuid+32)</span> |
| 806 | 806 | if( g.perm.Setup ){ |
| 807 | 807 | @ (Record ID: %d(rid)) |
| 808 | 808 | } |
| 809 | 809 | @ </td></tr> |
| 810 | 810 | @ <tr><th>User & Date:</th><td> |
| | @@ -2192,16 +2192,16 @@ |
| 2192 | 2192 | @ <h2>Latest version of file '%h(zName)':</h2> |
| 2193 | 2193 | style_submenu_element("Artifact", "%R/artifact/%S", zUuid); |
| 2194 | 2194 | }else{ |
| 2195 | 2195 | style_copy_button(); |
| 2196 | 2196 | @ <h2>Artifact |
| 2197 | | - @ <span class="copy-button" id="copy-artifacthash" |
| 2198 | | - @ data-copytarget="artifacthash" data-copylength="%d(hash_digits(1))"> |
| 2197 | + @ <span class="copy-button" id="copy-hash-ar" |
| 2198 | + @ data-copytarget="hash-ar" data-copylength="%d(hash_digits(1))"> |
| 2199 | 2199 | if( g.perm.Setup ){ |
| 2200 | | - @ </span> <span id="artifacthash">%s(zUuid)</span> (%d(rid)):</h2> |
| 2200 | + @ </span> <span id="hash-ar">%s(zUuid)</span> (%d(rid)):</h2> |
| 2201 | 2201 | }else{ |
| 2202 | | - @ </span> <span id="artifacthash">%s(zUuid)</span>:</h2> |
| 2202 | + @ </span> <span id="hash-ar">%s(zUuid)</span>:</h2> |
| 2203 | 2203 | } |
| 2204 | 2204 | } |
| 2205 | 2205 | blob_zero(&downloadName); |
| 2206 | 2206 | asText = P("txt")!=0; |
| 2207 | 2207 | if( asText ) objdescFlags &= ~OBJDESC_BASE; |
| 2208 | 2208 | |