您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

macros.html.twig 399B

123456789
  1. {% macro section_badge(section) %}
  2. <span class="badge badge-secondary {{ section_container.solver.getHtmlClass(section) }}">{{ section.title }}</span>
  3. {% endmacro %}
  4. {% macro section_badge_light_custom(section,title, status= 1) %}
  5. <span class="badge badge-secondary {{ status !=1 ? 'stripped'}} {{ section_container.solver.getHtmlClass(section) }}-light">{{ title }}</span>
  6. {% endmacro %}