Skip to content

Commit

Permalink
Consistency in headings and layout for template parameters (tparam)
Browse files Browse the repository at this point in the history
- at some places the translation of the "Template Parameters" was not yet done
- layout of the template parameters table in HTML had no default. Should be analogous to the table for normal parameters
  • Loading branch information
albert-github committed Nov 6, 2018
1 parent 9440d7c commit 626e56e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
5 changes: 1 addition & 4 deletions src/latexdocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1447,11 +1447,8 @@ void LatexDocVisitor::visitPre(DocParamSect *s)
filter(theTranslator->trExceptions());
break;
case DocParamSect::TemplateParam:
/* TODO: add this
filter(theTranslator->trTemplateParam()); break;
*/
m_t << "\n\\begin{DoxyTemplParams}{";
filter("Template Parameters");
filter(theTranslator->trTemplateParameters());
break;
default:
ASSERT(0);
Expand Down
5 changes: 1 addition & 4 deletions src/mandocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -906,10 +906,7 @@ void ManDocVisitor::visitPre(DocParamSect *s)
case DocParamSect::Exception:
m_t << theTranslator->trExceptions(); break;
case DocParamSect::TemplateParam:
/* TODO: add this
m_t << theTranslator->trTemplateParam(); break;
*/
m_t << "Template Parameters"; break;
m_t << theTranslator->trTemplateParameters(); break;
default:
ASSERT(0);
}
Expand Down
5 changes: 1 addition & 4 deletions src/rtfdocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,10 +1294,7 @@ void RTFDocVisitor::visitPre(DocParamSect *s)
case DocParamSect::Exception:
m_t << theTranslator->trExceptions(); break;
case DocParamSect::TemplateParam:
/* TODO: add this
m_t << theTranslator->trTemplateParam(); break;
*/
m_t << "Template Parameters"; break;
m_t << theTranslator->trTemplateParameters(); break;
default:
ASSERT(0);
}
Expand Down
6 changes: 3 additions & 3 deletions templates/html/doxygen.css
Original file line number Diff line number Diff line change
Expand Up @@ -701,17 +701,17 @@ dl.reflist dd {
padding-left: 0px;
}

.params .paramname, .retval .paramname {
.params .paramname, .retval .paramname, .tparams .paramname {
font-weight: bold;
vertical-align: top;
}

.params .paramtype {
.params .paramtype, .tparams .paramtype {
font-style: italic;
vertical-align: top;
}

.params .paramdir {
.params .paramdir, .tparams .paramdir {
font-family: "courier new",courier,monospace;
vertical-align: top;
}
Expand Down

0 comments on commit 626e56e

Please sign in to comment.