Skip to content

Commit

Permalink
Utility method rename
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleu committed Dec 8, 2024
1 parent 352cb1d commit 7188f10
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 34 deletions.
3 changes: 1 addition & 2 deletions views/components/view/String.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
{% if extra > 0 %}</span>{% endif %}
{% endstripspace %}{% endfunc %}


{% func Format(v string, ext string) %}{% stripspace %}
{% func FormatLang(v string, ext string) %}{% stripspace %}
{% code out, err := cutil.FormatLang(v, ext) %}
{% if err == nil %}
{%s= out %}
Expand Down
48 changes: 24 additions & 24 deletions views/components/view/String.html.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/vcomment/Detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h3>{%= components.SVGIcon(`comments`, ps) %} {%s p.Model.TitleString() %}</h3>
</tr>
<tr>
<th class="shrink" title="HTML code, in string form">HTML</th>
<td>{%= view.Format(p.Model.HTML, "html") %}</td>
<td>{%= view.FormatLang(p.Model.HTML, "html") %}</td>
</tr>
<tr>
<th class="shrink" title="Date and time, in almost any format">Created</th>
Expand Down
2 changes: 1 addition & 1 deletion views/vcomment/Detail.html.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/vemail/Detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h3>{%= components.SVGIcon(`email`, ps) %} {%s p.Model.TitleString() %}</h3>
</tr>
<tr>
<th class="shrink" title="HTML code, in string form">HTML</th>
<td>{%= view.Format(p.Model.HTML, "html") %}</td>
<td>{%= view.FormatLang(p.Model.HTML, "html") %}</td>
</tr>
<tr>
<th class="shrink" title="UUID in format (00000000-0000-0000-0000-000000000000)">User ID</th>
Expand Down
2 changes: 1 addition & 1 deletion views/vemail/Detail.html.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/vretro/vfeedback/Detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h3>{%= components.SVGIcon(`comment`, ps) %} {%s p.Model.TitleString() %}</h3>
</tr>
<tr>
<th class="shrink" title="HTML code, in string form">HTML</th>
<td>{%= view.Format(p.Model.HTML, "html") %}</td>
<td>{%= view.FormatLang(p.Model.HTML, "html") %}</td>
</tr>
<tr>
<th class="shrink" title="Date and time, in almost any format">Created</th>
Expand Down
2 changes: 1 addition & 1 deletion views/vretro/vfeedback/Detail.html.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/vstandup/vreport/Detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h3>{%= components.SVGIcon(`file-alt`, ps) %} {%s p.Model.TitleString() %}</h3>
</tr>
<tr>
<th class="shrink" title="HTML code, in string form">HTML</th>
<td>{%= view.Format(p.Model.HTML, "html") %}</td>
<td>{%= view.FormatLang(p.Model.HTML, "html") %}</td>
</tr>
<tr>
<th class="shrink" title="Date and time, in almost any format">Created</th>
Expand Down
2 changes: 1 addition & 1 deletion views/vstandup/vreport/Detail.html.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7188f10

Please sign in to comment.