aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/pages/templates.h
diff options
context:
space:
mode:
authorIvan Blinkov <ivan@blinkov.ru>2022-02-10 16:47:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:11 +0300
commit5b283123c882433dafbaf6b338adeea16c1a0ea0 (patch)
tree339adc63bce23800021202ae4a8328a843dc447a /library/cpp/monlib/service/pages/templates.h
parent1aeb9a455974457866f78722ad98114bafc84e8a (diff)
downloadydb-5b283123c882433dafbaf6b338adeea16c1a0ea0.tar.gz
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/service/pages/templates.h')
-rw-r--r--library/cpp/monlib/service/pages/templates.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/monlib/service/pages/templates.h b/library/cpp/monlib/service/pages/templates.h
index b445151951..b4656f059f 100644
--- a/library/cpp/monlib/service/pages/templates.h
+++ b/library/cpp/monlib/service/pages/templates.h
@@ -121,20 +121,20 @@ namespace NMonitoring {
TTag(IOutputStream& str, TStringBuf cls = "", TStringBuf for0 = "", TStringBuf id = "")
: Str(str)
{
- Str << "<" << tag;
+ Str << "<" << tag;
if (!cls.empty()) {
- Str << " class=\"" << cls << "\"";
- }
+ Str << " class=\"" << cls << "\"";
+ }
if (!for0.empty()) {
- Str << " for=\"" << for0 << "\"";
- }
-
+ Str << " for=\"" << for0 << "\"";
+ }
+
if (!id.empty()) {
- Str << "id=\"" << id << "\"";
- }
- Str << ">";
+ Str << "id=\"" << id << "\"";
+ }
+ Str << ">";
}
TTag(IOutputStream& str, std::initializer_list<std::pair<TStringBuf, TStringBuf>> attributes)