|
diff --git a/ui-tree.c b/ui-tree.c index 79332fc..051db7c 100644 --- a/ ui-tree.c+++ b/ ui-tree.c |
|
@@ -97,25 +97,25 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, |
97 | html("</a>"); |
97 | html("</a>"); |
98 | } else if (S_ISDIR(mode)) { |
98 | } else if (S_ISDIR(mode)) { |
99 | cgit_tree_link(name, NULL, "ls-dir", ctx.qry.head, |
99 | cgit_tree_link(name, NULL, "ls-dir", ctx.qry.head, |
100 | curr_rev, fullpath); |
100 | curr_rev, fullpath); |
101 | } else { |
101 | } else { |
102 | cgit_tree_link(name, NULL, "ls-blob", ctx.qry.head, |
102 | cgit_tree_link(name, NULL, "ls-blob", ctx.qry.head, |
103 | curr_rev, fullpath); |
103 | curr_rev, fullpath); |
104 | } |
104 | } |
105 | htmlf("</td><td class='ls-size'>%li</td>", size); |
105 | htmlf("</td><td class='ls-size'>%li</td>", size); |
106 | |
106 | |
107 | html("<td>"); |
107 | html("<td>"); |
108 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, |
108 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, |
109 | fullpath, 0, NULL, NULL); |
109 | fullpath, 0, NULL, NULL, ctx.qry.showmsg); |
110 | html("</td></tr>\n"); |
110 | html("</td></tr>\n"); |
111 | free(name); |
111 | free(name); |
112 | return 0; |
112 | return 0; |
113 | } |
113 | } |
114 | |
114 | |
115 | static void ls_head() |
115 | static void ls_head() |
116 | { |
116 | { |
117 | html("<table summary='tree listing' class='list'>\n"); |
117 | html("<table summary='tree listing' class='list'>\n"); |
118 | html("<tr class='nohover'>"); |
118 | html("<tr class='nohover'>"); |
119 | html("<th class='left'>Mode</th>"); |
119 | html("<th class='left'>Mode</th>"); |
120 | html("<th class='left'>Name</th>"); |
120 | html("<th class='left'>Name</th>"); |
121 | html("<th class='right'>Size</th>"); |
121 | html("<th class='right'>Size</th>"); |
|