Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
c96cedfa
Commit
c96cedfa
authored
Oct 02, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1939102
by Cottser, joelpittet, gnuget, mikl: Convert theme_indentation() to Twig.
parent
c3ef2d30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
core/modules/system/templates/indentation.html.twig
core/modules/system/templates/indentation.html.twig
+20
-0
No files found.
core/modules/system/templates/indentation.html.twig
0 → 100644
View file @
c96cedfa
{#
/**
* @file
* Default theme implementation for a set of indentation divs.
*
* These <div> tags are used for drag and drop tables.
*
* Available variables:
* - size: Optional. The number of indentations to create.
*
* @ingroup themeable
*/
#}
<!--
THIS FILE IS NOT USED AND IS HERE AS A STARTING POINT FOR CUSTOMIZATION ONLY.
See https://api.drupal.org/api/function/theme_indentation/8 for details.
After copying this file to your theme's folder and customizing it, remove this
HTML comment.
-->
{%
for
i
in
1.
.
size
if
size
>
0
%}
<div
class=
"indentation"
>
</div>
{%
endfor
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment