diff --git a/app/Resources/assets/style/main.scss b/app/Resources/assets/style/main.scss index 119d452..ef65f72 100644 --- a/app/Resources/assets/style/main.scss +++ b/app/Resources/assets/style/main.scss @@ -39,6 +39,9 @@ .item-info { min-height: 300px; + background: #EEEEEE; + padding: 20px; + height: 100%; } .ui.fixed + .ui.header { diff --git a/app/Resources/translations/messages.en.yml b/app/Resources/translations/messages.en.yml index 79934fe..4608f11 100644 --- a/app/Resources/translations/messages.en.yml +++ b/app/Resources/translations/messages.en.yml @@ -1,6 +1,6 @@ set: filter.title: Filter - id: Set number + id: Number name: Name year: Released theme: Theme @@ -12,6 +12,12 @@ set: text: | This set inventory has been obtained from Rebrickable. According to the Brickset, this set has %brickset% parts. The inventory from Rebrickable contains %rebrickable% parts. + rebrickable: + credit: | + This set inventory and model images has been obtained from Rebrickable. To view more information about set visit Rebrickable.com. + brickset: + credit: | + This data has been obtained from Brickset instructions: description: Description filesize: Filesize @@ -49,10 +55,11 @@ set: model: filter.title: Filter - id: Model number + id: Number + name: Name category: Category author: Author - set.count: + set.count: In sets license: License keywords: Keywords aliases: Aliases @@ -66,6 +73,7 @@ page: model.index: Browse models set.index: Browse sets search: "Search: \"%query%\"" + color: Colors filter: model: diff --git a/app/Resources/views/brickset/description.html.twig b/app/Resources/views/brickset/description.html.twig index 0b14b21..c39a774 100644 --- a/app/Resources/views/brickset/description.html.twig +++ b/app/Resources/views/brickset/description.html.twig @@ -9,7 +9,12 @@ {% endfor %} {% if description|length %} - {{ description|raw }} +
{{ 'set.brickset.credit' | trans | raw }}
+{{ 'set.brickset.credit' | trans | raw }}
{{ 'set.instructions.text' | trans | raw | nl2br }}
-Text and data obtained from Brickset
+{{ 'set.instructions.text' | trans | raw | nl2br }}
-{{ 'set.instructions.description' | trans }} | -{{ 'set.instructions.filesize' | trans }} | -{{ 'set.instructions.filename' | trans }} | -
---|
{{ instruction.description }} | -{{ remoteSize(instruction.uRL) | bytesToSize }} | -{{ remoteFilename(instruction.uRL) }} | +{{ 'set.instructions.description' | trans }} | +{{ 'set.instructions.filesize' | trans }} | +{{ 'set.instructions.filename' | trans }} |
---|
{{ 'set.brickset.credit' | trans | raw }}
+
- {% if review.overallRating %} -- Overall rating
-
- {% endif %}
- {% if review.valueForMoney %}
- - Value for money
-
- {% endif %}
- {% if review.playability %}
- - Playability
-
- {% endif %}
- {% if review.parts %}
- - Parts
-
- {% endif %}
- {% if review.buildingExperience %}
- - Building experience
-
- {% endif %}
-
-{{ review.title }}
-{{ review.review }}
++ {% if review.overallRating %} +- Overall rating
+
{% endif %}
+ {% if review.valueForMoney %}
+ - Value for money
+
+ {% endif %}
+ {% if review.playability %}
+ - Playability
+
+ {% endif %}
+ {% if review.parts %}
+ - Parts
+
+ {% endif %}
+ {% if review.buildingExperience %}
+ - Building experience
+
+ {% endif %}
+
+{{ review.title }}
+{{ review.review }}
+ {% endif %} +{{ 'set.brickset.credit' | trans | raw }}
+{{ model.id }}
{{ part.id}}
- Sets -
+ {##} + {# Sets#} + {#
#} -Sets
-