diff --git a/.editorconfig b/.editorconfig index ee03cd17..b1152907 100644 --- a/.editorconfig +++ b/.editorconfig @@ -20,3 +20,8 @@ indent_size = 4 indent_style = tab tab_width = 8 +# CHTML: 2-space indents +[**/*.chtml] +indent_style = space +indent_size = 2 + diff --git a/www/kojiweb/externalrepoinfo.chtml b/www/kojiweb/externalrepoinfo.chtml index aa48ae62..897c7173 100644 --- a/www/kojiweb/externalrepoinfo.chtml +++ b/www/kojiweb/externalrepoinfo.chtml @@ -17,13 +17,13 @@ Tags using this external repo - #if $len($repoTags) - #for $tag in $repoTags - $util.escapeHTML($tag.tag_name)
- #end for - #else - No tags - #end if + #if $len($repoTags) + #for $tag in $repoTags + $util.escapeHTML($tag.tag_name)
+ #end for + #else + No tags + #end if diff --git a/www/kojiweb/packages.chtml b/www/kojiweb/packages.chtml index 21cd06f6..16ad4d33 100644 --- a/www/kojiweb/packages.chtml +++ b/www/kojiweb/packages.chtml @@ -10,24 +10,24 @@ #if $tag - - +
+ + - + -
Inherited: - + -
+
With blocked: - + -
+
#end if @@ -38,7 +38,7 @@ #else $char #end if - | + | #end for #if $prefix all diff --git a/www/kojiweb/taginfo.chtml b/www/kojiweb/taginfo.chtml index b7a768b2..44bcca97 100644 --- a/www/kojiweb/taginfo.chtml +++ b/www/kojiweb/taginfo.chtml @@ -102,13 +102,13 @@ External repos - #for $external_repo in $external_repos - $util.escapeHTML($external_repo.external_repo_name) [$external_repo.merge_mode] - #if $external_repo.tag_id != $tag.id - (inherited from $util.escapeHTML($external_repo.tag_name)) - #end if -
- #end for + #for $external_repo in $external_repos + $util.escapeHTML($external_repo.external_repo_name) [$external_repo.merge_mode] + #if $external_repo.tag_id != $tag.id + (inherited from $util.escapeHTML($external_repo.tag_name)) + #end if +
+ #end for #end if