diff --git a/src/dumpstats.c b/src/dumpstats.c
index 806d9c6d8..168b0ade3 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -3252,58 +3252,79 @@ static void stats_dump_html_info(struct stream_interface *si, struct uri_auth *u
case STAT_STATUS_DONE:
chunk_appendf(&trash,
"
"
- "
[X] "
+ "
[X] "
"Action processed successfully."
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
break;
case STAT_STATUS_NONE:
chunk_appendf(&trash,
""
- "
[X] "
+ "
[X] "
"Nothing has changed."
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
break;
case STAT_STATUS_PART:
chunk_appendf(&trash,
""
- "
[X] "
+ "
[X] "
"Action partially processed.
"
"Some server names are probably unknown or ambiguous (duplicated names in the backend)."
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
break;
case STAT_STATUS_ERRP:
chunk_appendf(&trash,
""
- "
[X] "
+ "
[X] "
"Action not processed because of invalid parameters."
"
"
"- The action is maybe unknown.
"
"- The backend name is probably unknown or ambiguous (duplicated names).
"
"- Some server names are probably unknown or ambiguous (duplicated names in the backend).
"
"
"
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
break;
case STAT_STATUS_EXCD:
chunk_appendf(&trash,
""
- "
[X] "
+ "
[X] "
"
Action not processed : the buffer couldn't store all the data.
"
"You should retry with less servers at a time."
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
break;
case STAT_STATUS_DENY:
chunk_appendf(&trash,
""
- "
[X] "
+ "
[X] "
"
Action denied."
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
break;
default:
chunk_appendf(&trash,
""
- "
[X] "
+ "
[X] "
"Unexpected result."
- "
\n", uri->uri_prefix);
+ "\n", uri->uri_prefix,
+ (si->applet.ctx.stats.flags & STAT_HIDE_DOWN) ? ";up" : "",
+ (si->applet.ctx.stats.flags & STAT_NO_REFRESH) ? ";norefresh" : "",
+ scope_txt);
}
chunk_appendf(&trash, "\n");
}