Fossil

Check-in [f871a3b5]
Login

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

Overview
Comment:Remove extra whitespace before file names in file browser. Ticket [28d861eb57].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f871a3b578b9da0da7fbc6203c8a3eeab294537b
User & Date: dmitry 2009-10-11 21:29:38
Context
2009-10-11
21:30
Update documentation for "clean" command. Ticket [c3d668ad52]. check-in: 25ede6e3 user: dmitry tags: trunk
21:29
Remove extra whitespace before file names in file browser. Ticket [28d861eb57]. check-in: f871a3b5 user: dmitry tags: trunk
19:52
Fix the "clean" command to use --force instead of --all. Ticket [c3d668ad52] check-in: 5308e468 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/browse.c.

220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
      @ </td><td valign="top" width="25%%">
      i = 0;
    }
    i++;
    zFName = db_column_text(&q, 0);
    if( zFName[0]=='/' ){
      zFName++;
      @ <li><a href="%s(zSubdirLink)%T(zFName)">
      @     %h(zFName)/</a></li>
    }else if( zCI ){
      const char *zUuid = db_column_text(&q, 1);
      @ <li><a href="%s(g.zBaseURL)/artifact?name=%s(zUuid)">%h(zFName)</a>
    }else{
      @ <li><a href="%s(g.zBaseURL)/finfo?name=%T(zPrefix)%T(zFName)">
      @     %h(zFName)</a></li>
    }
  }
  db_finalize(&q);
  @ </td></tr></table>
  style_footer();
}







|
|




|
|






220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
      @ </td><td valign="top" width="25%%">
      i = 0;
    }
    i++;
    zFName = db_column_text(&q, 0);
    if( zFName[0]=='/' ){
      zFName++;
      @ <li>
      @     <a href="%s(zSubdirLink)%T(zFName)">%h(zFName)/</a></li>
    }else if( zCI ){
      const char *zUuid = db_column_text(&q, 1);
      @ <li><a href="%s(g.zBaseURL)/artifact?name=%s(zUuid)">%h(zFName)</a>
    }else{
      @ <li>
      @     <a href="%s(g.zBaseURL)/finfo?name=%T(zPrefix)%T(zFName)">%h(zFName)</a></li>
    }
  }
  db_finalize(&q);
  @ </td></tr></table>
  style_footer();
}