7 Commits

Author SHA1 Message Date
Matias Griese
e9d36b97a8 Stop using |tu filter, Grav already has the same logic in |t for admin 2021-08-18 14:12:03 +03:00
Mohammad Anbarestany
d87233c630 Support for RTL languages (#2078)
* RTL-Support

* Standard Format

* shorter code

* default Arabic font

* fix for Configuration section

for "system>Assets>Collections" section to support RTL we should change inline style element created by admin.min.js so i've added an if statement to check <body> direction is RTL or not...

* Update rtl.css

* Multi level fix for RTL

in admin config under system>assets there is an input text which you can add child(s) under it... i've added several if statements to check Page direction and put margin-right instead of margin-left for RTL languages... i also wrote an style to override margin-left just in case ;)

* improvements

* fixes

* fix

* fix

* fix

* Update rtl.css

* first complete RTL style 👍

* Faster computation of direction

* Faster evaluation for margin direction (and simplified)

Co-authored-by: Djamil Legato <djamil+github@djamil.it>
2021-02-23 10:16:33 -08:00
Matias Griese
ac41a3a57a Twig 2 compatibility fixes on macros (part 2) 2018-08-27 11:22:52 +03:00
Matias Griese
eb12db2872 Twig 2 compatibility fixes on macros 2018-08-26 12:11:39 +03:00
Matias Griese
967779dfaa Twig 2 compatibility fixes on macros 2018-08-26 11:49:11 +03:00
Flavio Copes
9590fed32a Multilevel field: Fix issue in rendering base-level array items, re #1150 2017-06-30 20:56:43 +02:00
Flavio Copes
ffb3097721 Add multilevel form field (#1135)
Example definition in blueprint:

```yaml
    content:
        type: multilevel
        label: Multi Level
        style: vertical
        validate:
          type: array
```
2017-06-27 13:39:09 +02:00