diff options
| author | Ivan Blinkov <[email protected]> | 2022-02-10 16:47:10 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:10 +0300 | 
| commit | 1aeb9a455974457866f78722ad98114bafc84e8a (patch) | |
| tree | e4340eaf1668684d83a0a58c36947c5def5350ad /library/cpp/monlib/service/pages/templates.h | |
| parent | bd5ef432f5cfb1e18851381329d94665a4c22470 (diff) | |
Restoring authorship annotation for Ivan Blinkov <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/service/pages/templates.h')
| -rw-r--r-- | library/cpp/monlib/service/pages/templates.h | 18 | 
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 b4656f059fa..b4451519510 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) | 
