projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f299a
)
"list graphs" action: Add link to display dynamic graphs, too.
author
Florian Forster
<ff@octo.it>
Wed, 28 Jul 2010 14:56:32 +0000
(16:56 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Wed, 28 Jul 2010 14:56:32 +0000
(16:56 +0200)
src/action_list_graphs.c
patch
|
blob
|
history
diff --git
a/src/action_list_graphs.c
b/src/action_list_graphs.c
index
f59da7c
..
ac37cc0
100644
(file)
--- a/
src/action_list_graphs.c
+++ b/
src/action_list_graphs.c
@@
-88,6
+88,13
@@
static int print_all_graphs (__attribute__((unused)) void *user_data) /* {{{ */
gl_graph_get_all (include_dynamic, print_one_graph, /* user_data = */ NULL);
printf (" </ul>\n");
+ if (!include_dynamic)
+ {
+ printf (" <div><a href=\"%s?action=list_graphs;dynamic=true\">"
+ "List dynamic graphs, too."
+ "</a></div>\n", script_name ());
+ }
+
return (0);
} /* }}} int print_all_graphs */