conf-warn.twig
5 years ago
media.twig
1 year ago
multi_currencies.twig
5 years ago
plugins-status.twig
1 year ago
products.twig
1 year ago
status.twig
5 years ago
store-pages.twig
5 years ago
taxonomies.twig
5 years ago
taxonomies.twig
44 lines
| 1 | <div class="wcml-section wc-missing-translation-section"> |
| 2 | <div class="wcml-section-header"> |
| 3 | <h3> |
| 4 | {{ strings.tax_missing }} |
| 5 | <i class="otgs-ico-help wcml-tip" data-tip="{{ strings.run_site|e }}"></i> |
| 6 | </h3> |
| 7 | </div> |
| 8 | <div class="wcml-section-content js-tax-translation"> |
| 9 | <ul class="wcml-status-list wcml-tax-translation-list"> |
| 10 | {% set no_tax_to_update = true %} |
| 11 | {% for taxonomy in taxonomies %} |
| 12 | {% set no_tax_to_update = false %} |
| 13 | <li class="js-tax-translation-{{ taxonomy.tax }}"> |
| 14 | {% if taxonomy.untranslated %} |
| 15 | {% if taxonomy.fully_trans %} |
| 16 | <i class="otgs-ico-ok"></i> |
| 17 | {{ strings.not_req_trnsl|format( taxonomy.name ) }} |
| 18 | {% else %} |
| 19 | <i class="otgs-ico-warning"></i> |
| 20 | {% if( taxonomy.untranslated == 1) %} |
| 21 | {{ strings.miss_trnsl_one|format( taxonomy.untranslated, taxonomy.name_singular ) }} |
| 22 | {% else %} |
| 23 | {{ strings.miss_trnsl_more|format( taxonomy.untranslated, taxonomy.name ) }} |
| 24 | {% endif %} |
| 25 | <a class="button button-secondary button-small" href="{{ taxonomy.url }}"> |
| 26 | {{ strings.trnsl|format( taxonomy.name ) }} |
| 27 | </a> |
| 28 | {% endif %} |
| 29 | {% else %} |
| 30 | <i class="otgs-ico-ok"></i> |
| 31 | {{ strings.all_trnsl|format( taxonomy.name ) }} |
| 32 | {% endif %} |
| 33 | </li> |
| 34 | {% endfor %} |
| 35 | {% if no_tax_to_update %} |
| 36 | <li> |
| 37 | <i class="otgs-ico-ok"></i> |
| 38 | {{ strings.not_to_trnsl }} |
| 39 | </li> |
| 40 | {% endif %} |
| 41 | </ul> |
| 42 | <span>{{ strings.conf_warning|raw }}</span> |
| 43 | </div> |
| 44 | </div> |