From: Florian Forster Date: Tue, 6 Jul 2010 09:11:24 +0000 (+0200) Subject: "list graphs" action: Link to the "show graph" action … X-Git-Tag: v4.0.0~147 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ac284c5c84056ffeb0bb81240fb7dac3eb65f2d4;p=collection4.git "list graphs" action: Link to the "show graph" action … … if not all instances are shown. --- diff --git a/share/style.css b/share/style.css index 9f78f22..a1964d2 100644 --- a/share/style.css +++ b/share/style.css @@ -153,6 +153,12 @@ a:hover font-size: 90%; } +#search-output li.instance.more +{ + padding-top: .5ex; + font-style: italic; +} + .breadcrump { font-size: 90%; diff --git a/src/action_list_graphs.c b/src/action_list_graphs.c index caa90a8..0740424 100644 --- a/src/action_list_graphs.c +++ b/src/action_list_graphs.c @@ -88,7 +88,14 @@ static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ { if (!data->inst_more) { - printf ("
  • More ...
  • \n"); + memset (params, 0, sizeof (params)); + graph_get_params (cfg, params, sizeof (params)); + html_escape_buffer (params, sizeof (params)); + + printf ("
  • More …
  • \n", + script_name (), params); + data->inst_more = 1; } return (0);