mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-06 01:11:05 +00:00
To avoid bloating the template helper functions, some functions could be
provided by type methods.
And the new code `data-line-type="{{.GetHTMLDiffLineType}}"` reads
better than `data-line-type="{{DiffLineTypeToStr .GetType}}"`
After the fix, screenshots (the same as before):
<details>


</details>
|
||
|---|---|---|
| .. | ||
| blob_excerpt.tmpl | ||
| box.tmpl | ||
| comment_form.tmpl | ||
| comment_form_datahandler.tmpl | ||
| comments.tmpl | ||
| compare.tmpl | ||
| conversation.tmpl | ||
| csv_diff.tmpl | ||
| escape_title.tmpl | ||
| image_diff.tmpl | ||
| new_comment.tmpl | ||
| new_review.tmpl | ||
| options_dropdown.tmpl | ||
| section_code.tmpl | ||
| section_split.tmpl | ||
| section_unified.tmpl | ||
| stats.tmpl | ||
| whitespace_dropdown.tmpl | ||