Fossil SCM

Fix formatting issues on the object description in /artifact

drh 2015-02-08 00:22 trunk
Commit ca30907b0e6e092f595cb823219dc2388e7b32ab
1 file changed +6 -6
+6 -6
--- src/info.c
+++ src/info.c
@@ -647,16 +647,16 @@
647647
fossil_free(zUrl);
648648
}
649649
@ </td></tr>
650650
@ <tr><th>Other&nbsp;Links:</th>
651651
@ <td>
652
- @ %z(href("%R/tree?ci=%s",zUuid))files</a>
653
- @ | %z(href("%R/fileage?name=%s",zUuid))file ages</a>
654
- @ | %z(href("%R/tree?ci=%s&nofiles",zUuid))folders</a>
655
- @ | %z(href("%R/artifact/%s",zUuid))manifest</a>
652
+ @ %z(href("%R/tree?ci=%S",zUuid))files</a>
653
+ @ | %z(href("%R/fileage?name=%S",zUuid))file ages</a>
654
+ @ | %z(href("%R/tree?nofiles&type=tree&ci=%S",zUuid))folders</a>
655
+ @ | %z(href("%R/artifact/%S",zUuid))manifest</a>
656656
if( g.perm.Write ){
657
- @ | %z(href("%R/ci_edit?r=%s",zUuid))edit</a>
657
+ @ | %z(href("%R/ci_edit?r=%S",zUuid))edit</a>
658658
}
659659
@ </td>
660660
@ </tr>
661661
blob_reset(&projName);
662662
}
@@ -1188,11 +1188,11 @@
11881188
}
11891189
cnt++;
11901190
continue;
11911191
}
11921192
if( !sameFilename ){
1193
- if( prevName ) {
1193
+ if( prevName && showDetail ) {
11941194
@ </ul>
11951195
}
11961196
if( mPerm==PERM_LNK ){
11971197
@ <li>Symbolic link
11981198
objType |= OBJTYPE_SYMLINK;
11991199
--- src/info.c
+++ src/info.c
@@ -647,16 +647,16 @@
647 fossil_free(zUrl);
648 }
649 @ </td></tr>
650 @ <tr><th>Other&nbsp;Links:</th>
651 @ <td>
652 @ %z(href("%R/tree?ci=%s",zUuid))files</a>
653 @ | %z(href("%R/fileage?name=%s",zUuid))file ages</a>
654 @ | %z(href("%R/tree?ci=%s&nofiles",zUuid))folders</a>
655 @ | %z(href("%R/artifact/%s",zUuid))manifest</a>
656 if( g.perm.Write ){
657 @ | %z(href("%R/ci_edit?r=%s",zUuid))edit</a>
658 }
659 @ </td>
660 @ </tr>
661 blob_reset(&projName);
662 }
@@ -1188,11 +1188,11 @@
1188 }
1189 cnt++;
1190 continue;
1191 }
1192 if( !sameFilename ){
1193 if( prevName ) {
1194 @ </ul>
1195 }
1196 if( mPerm==PERM_LNK ){
1197 @ <li>Symbolic link
1198 objType |= OBJTYPE_SYMLINK;
1199
--- src/info.c
+++ src/info.c
@@ -647,16 +647,16 @@
647 fossil_free(zUrl);
648 }
649 @ </td></tr>
650 @ <tr><th>Other&nbsp;Links:</th>
651 @ <td>
652 @ %z(href("%R/tree?ci=%S",zUuid))files</a>
653 @ | %z(href("%R/fileage?name=%S",zUuid))file ages</a>
654 @ | %z(href("%R/tree?nofiles&type=tree&ci=%S",zUuid))folders</a>
655 @ | %z(href("%R/artifact/%S",zUuid))manifest</a>
656 if( g.perm.Write ){
657 @ | %z(href("%R/ci_edit?r=%S",zUuid))edit</a>
658 }
659 @ </td>
660 @ </tr>
661 blob_reset(&projName);
662 }
@@ -1188,11 +1188,11 @@
1188 }
1189 cnt++;
1190 continue;
1191 }
1192 if( !sameFilename ){
1193 if( prevName && showDetail ) {
1194 @ </ul>
1195 }
1196 if( mPerm==PERM_LNK ){
1197 @ <li>Symbolic link
1198 objType |= OBJTYPE_SYMLINK;
1199

Keyboard Shortcuts

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