Javi Martín
5148919c17
Remove duplication in cards tables
...
We were using the same code in two places, so we're extracting the code
into a component in order to share it.
2021-01-12 14:50:37 +01:00
Javi Martín
b6f133b6c8
Use human attribute name on cards table
...
We were defining the same texts in three places: admin.homepage.cards,
admin.site_customization.pages.cards and activerecord attributes.
2021-01-12 14:50:37 +01:00
Javi Martín
4c0bb894eb
Use polymorphic routes to manage cards
...
We use a different logic to load the card depending on the controller
we're using, and then share the rest of the code. This way we simplify
the code a bit, since we don't have to check for the page_id parameter.
2021-01-12 14:50:37 +01:00
Javi Martín
b1f9ca4ad5
Allow custom URLs in links to actions
...
There were a couple of cases where these links didn't point to the
default actions.
2020-10-19 18:56:02 +02:00
Julian Herrero
c32a98be10
Use double quotes in app/views/admin/site_customization
2019-03-19 12:16:50 +01:00
decabeza
64cbed838a
Fix hound warnings
2019-01-31 17:23:45 +01:00
Manu
86d75767e8
change h3 tag to h2 and added title of the custom page which we are adding the cards
2019-01-18 09:54:43 -05:00
Manu
7657a0e0b4
added i18n text to custom pages cards
2019-01-18 09:54:43 -05:00
Manu
722a431b54
Add cards to custom pages
2019-01-18 09:54:43 -05:00