mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
Small tweak.
This commit is contained in:
parent
bf99b34f1a
commit
d4b93e4869
@ -125,7 +125,7 @@ void BrowsableFolderServeNode::render_dir_page(const String &dir_uri, const Vect
|
|||||||
for (int i = 0; i < folders.size(); ++i) {
|
for (int i = 0; i < folders.size(); ++i) {
|
||||||
b.div("file_list_entry");
|
b.div("file_list_entry");
|
||||||
{
|
{
|
||||||
b.a(uri + folders[i])->w("(Folder) ")->w(folders[i].get_slicec('/', folders[i].get_slice_count("/") - 1))->ca();
|
b.a(uri + folders[i])->w("(Folder) ")->w(folders[i].get_file())->ca();
|
||||||
}
|
}
|
||||||
b.cdiv();
|
b.cdiv();
|
||||||
}
|
}
|
||||||
@ -133,7 +133,7 @@ void BrowsableFolderServeNode::render_dir_page(const String &dir_uri, const Vect
|
|||||||
for (int i = 0; i < files.size(); ++i) {
|
for (int i = 0; i < files.size(); ++i) {
|
||||||
b.div("file_list_entry");
|
b.div("file_list_entry");
|
||||||
{
|
{
|
||||||
b.a(uri + files[i])->w("(File) ")->w(files[i].get_slicec('/', files[i].get_slice_count("/") - 1))->ca();
|
b.a(uri + files[i])->w("(File) ")->w(files[i].get_file())->ca();
|
||||||
}
|
}
|
||||||
b.cdiv();
|
b.cdiv();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user