Fossil

Check-in [e55105e5]
Login

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

Overview
Comment:I fix the html related to the artifact description, about pairs of ul.

I also disable the [view] link in the 'fdiff' ui page, because we already provide a link to the artifact in the h2 titles stating the artifacts compared.

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | artifact_description
Files: files | file ages | folders
SHA1: e55105e58f0b664d63e9da949784a5597c779697
User & Date: viriketo 2011-08-31 09:00:56.099
Context
2011-08-31
14:28
Show the branch name in artifact descriptions. ... (Closed-Leaf check-in: 2e38bed4 user: drh tags: artifact_description)
09:00
I fix the html related to the artifact description, about pairs of ul.

I also disable the [view] link in the 'fdiff' ui page, because we already provide a link to the artifact in the h2 titles stating the artifacts compared. ... (check-in: e55105e5 user: viriketo tags: artifact_description)

08:34
Fixing the display of the artifact description when the artifact appears as different filenames. ... (check-in: f8eff242 user: viriketo tags: artifact_description)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
  while( db_step(&q)==SQLITE_ROW ){
    const char *zName = db_column_text(&q, 0);
    const char *zDate = db_column_text(&q, 1);
    const char *zCom = db_column_text(&q, 2);
    const char *zUser = db_column_text(&q, 3);
    const char *zVers = db_column_text(&q, 4);
    if( !prevName || fossil_strcmp(zName, prevName) ) {
      if( !prevName ) {
        @ <ul>
        prevName = fossil_strdup(zName);
      }
      else {
        @ </ul>
      }
      @ <li>File
      if( g.okHistory ){
        @ <a href="%s(g.zTop)/finfo?name=%T(zName)">%h(zName)</a>
      }else{
        @ %h(zName)







|
<
<
<
<







798
799
800
801
802
803
804
805




806
807
808
809
810
811
812
  while( db_step(&q)==SQLITE_ROW ){
    const char *zName = db_column_text(&q, 0);
    const char *zDate = db_column_text(&q, 1);
    const char *zCom = db_column_text(&q, 2);
    const char *zUser = db_column_text(&q, 3);
    const char *zVers = db_column_text(&q, 4);
    if( !prevName || fossil_strcmp(zName, prevName) ) {
      if( prevName ) {




        @ </ul>
      }
      @ <li>File
      if( g.okHistory ){
        @ <a href="%s(g.zTop)/finfo?name=%T(zName)">%h(zName)</a>
      }else{
        @ %h(zName)
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
  blob_reset(&c2);
  if( !isPatch ){
    style_header("Diff");
    style_submenu_element("Patch", "Patch", "%s/fdiff?v1=%T&v2=%T&patch",
                          g.zTop, P("v1"), P("v2"));
    @ <h2>Differences From
    @ Artifact <a href="%s(g.zTop)/artifact/%S(zV1)">[%S(zV1)]</a>:</h2>
    object_description(v1, 1, 0);
    @ <h2>To Artifact <a href="%s(g.zTop)/artifact/%S(zV2)">[%S(zV2)]</a>:</h2>
    object_description(v2, 1, 0);
    @ <hr />
    @ <blockquote><pre>
    @ %h(blob_str(&diff))
    @ </pre></blockquote>
    blob_reset(&diff);
    style_footer();
  }







|

|







997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
  blob_reset(&c2);
  if( !isPatch ){
    style_header("Diff");
    style_submenu_element("Patch", "Patch", "%s/fdiff?v1=%T&v2=%T&patch",
                          g.zTop, P("v1"), P("v2"));
    @ <h2>Differences From
    @ Artifact <a href="%s(g.zTop)/artifact/%S(zV1)">[%S(zV1)]</a>:</h2>
    object_description(v1, 0, 0);
    @ <h2>To Artifact <a href="%s(g.zTop)/artifact/%S(zV2)">[%S(zV2)]</a>:</h2>
    object_description(v2, 0, 0);
    @ <hr />
    @ <blockquote><pre>
    @ %h(blob_str(&diff))
    @ </pre></blockquote>
    blob_reset(&diff);
    style_footer();
  }