comfortable_mexican_sofa 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d667e6bef0f6b9ac805e40c9ab1d0ca8e0658a9
4
- data.tar.gz: 88bab12942bf9edc778400481de6836062492748
3
+ metadata.gz: 2bc7965bfa47a37f8d1217bd041709ce13d46e6d
4
+ data.tar.gz: 84a087c57db21caceeea2ed16fb4273e7e7f6adf
5
5
  SHA512:
6
- metadata.gz: fea0ed9825902448785e369587657383f932412796ed1b418fd82fc6f039e6517ff4ae0310ac74a99f164628629cb70c6d87978fb2bc2ca99f42363a242b963e
7
- data.tar.gz: c5b2b5e5fbb5bb7868ca242d858ab6cb057c67cbd9674f3bb8837141e8751583264b81c9357392d7c3ec33562e85a9eedf101dd579e13d0c27e924333e0080b1
6
+ metadata.gz: a514cb92363623a5686f9f09347e3ef500788d5cecfddf12df793097970bbaaea26e571909920bbfc5a54592dddadb2fd338857e8cbcecb02597ae5684397e7e
7
+ data.tar.gz: 5bc3dd4e4d1508f47a00d8374b787fc808eda804cdf217fbf595de06f82e38d26259813847e4295f6891df47d233879a25f3d2ced369047042aae7224c67d395
@@ -23,6 +23,19 @@ body#comfy
23
23
  margin: 0 -15px 1rem -15px
24
24
  text-align: center
25
25
 
26
+ .fragment-attachments
27
+ padding: 5px 0
28
+ .btn
29
+ margin-bottom: 5px
30
+ .custom-checkbox
31
+ margin: 0
32
+ vertical-align: middle
33
+ padding-left: 1rem
34
+ .custom-control-indicator
35
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M1.41 0l-1.41 1.41.72.72 1.78 1.81-1.78 1.78-.72.69 1.41 1.44.72-.72 1.81-1.81 1.78 1.81.69.72 1.44-1.44-.72-.69-1.81-1.78 1.81-1.81.72-.72-1.44-1.41-.69.72-1.78 1.78-1.81-1.78-.72-.72z' /%3E%3C/svg%3E")
36
+ .custom-control-input:checked ~ .custom-control-indicator
37
+ background-color: $red
38
+
26
39
  #cms-left
27
40
  position: fixed
28
41
  top: 0
@@ -94,6 +107,13 @@ body#comfy
94
107
  margin: 0.5rem 0
95
108
  background-color: $white
96
109
  border: 1px solid $gray-200
110
+ .box.translations
111
+ a.translation
112
+ text-align: left
113
+ overflow: hidden
114
+ color: $black
115
+ a.draft
116
+ color: $gray-600
97
117
 
98
118
  #cms-main
99
119
  padding-bottom: 3.5rem
@@ -184,25 +204,6 @@ body#comfy
184
204
  margin-bottom: 1rem
185
205
  label.renderable-false
186
206
  color: $gray-600
187
- .files
188
- padding: 5px 0
189
- .btn
190
- margin-bottom: 5px
191
- .custom-checkbox
192
- margin: 0
193
- vertical-align: middle
194
- padding-left: 1rem
195
- .custom-control-indicator
196
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M1.41 0l-1.41 1.41.72.72 1.78 1.81-1.78 1.78-.72.69 1.41 1.44.72-.72 1.81-1.81 1.78 1.81.69.72 1.44-1.44-.72-.69-1.81-1.78 1.81-1.81.72-.72-1.44-1.41-.69.72-1.78 1.78-1.81-1.78-.72-.72z' /%3E%3C/svg%3E")
197
- .custom-control-input:checked ~ .custom-control-indicator
198
- background-color: $red
199
- .box.translations
200
- a.translation
201
- text-align: left
202
- overflow: hidden
203
- color: $black
204
- a.draft
205
- color: $gray-600
206
207
 
207
208
  // -- Files ------------------------------------------------------------------
208
209
  .cms-files-modal
@@ -8,7 +8,7 @@
8
8
 
9
9
  #form-fragments
10
10
  - if nodes.empty?
11
- .no-tags
11
+ .alert.alert-warning
12
12
  - if record.layout
13
13
  = link_to record.layout.label, edit_comfy_admin_cms_site_layout_path(@site, record.layout)
14
14
  = t(".no_tags").html_safe
@@ -1,4 +1,4 @@
1
- .files
1
+ .fragment-attachments
2
2
  - attachments.each do |attachment|
3
3
  - if attachment.image?
4
4
  - variant = attachment.variant(Comfy::Cms::File::VARIANT_SIZE[:thumb])
@@ -2,19 +2,7 @@
2
2
  .box.revisions
3
3
  = link_to t('.revision', count: @page.revisions.count), comfy_admin_cms_site_page_revisions_path(@site, @page), class: 'btn btn-info d-block'
4
4
 
5
- .box.translations
6
- = link_to t(".translation.create"), new_comfy_admin_cms_site_page_translation_path(@site, @page), class: "btn btn-secondary d-block mb-1"
7
-
8
- - @page.translations.each do |translation|
9
- .btn-group.btn-group-sm.d-flex.mb-1
10
-
11
- - url = edit_comfy_admin_cms_site_page_translation_path(@site, @page, translation)
12
- - name = "(#{translation.locale}) #{translation.label}"
13
- - published_css_class = translation.is_published? ? "published" : "draft"
14
- = link_to name, url, class: "#{published_css_class} translation btn btn-outline-light w-100"
15
-
16
- - url = comfy_admin_cms_site_page_translation_path(@site, @page, translation)
17
- = link_to t(".translation.delete"), url, method: :delete, data: {confirm: t(".translation.confirm")}, class: "btn btn-danger"
5
+ = render partial: "comfy/admin/cms/translations/sidebar"
18
6
 
19
7
  .page-header
20
8
  %h2= t('.title')
@@ -0,0 +1,13 @@
1
+ .box.translations
2
+ - @page.translations.each do |translation|
3
+ .btn-group.btn-group-sm.d-flex.mb-1
4
+ - url = edit_comfy_admin_cms_site_page_translation_path(@site, @page, translation)
5
+ - badge = content_tag(:span, translation.locale, class: "badge badge-light")
6
+ - name = "#{badge} #{translation.label}".html_safe
7
+ - published_css_class = translation.is_published? ? "published" : "draft"
8
+ = link_to name, url, class: "#{published_css_class} translation btn btn-outline-light w-100"
9
+
10
+ - url = comfy_admin_cms_site_page_translation_path(@site, @page, translation)
11
+ = link_to t(".delete"), url, method: :delete, data: {confirm: t(".confirm")}, class: "btn btn-danger"
12
+
13
+ = link_to t(".new"), new_comfy_admin_cms_site_page_translation_path(@site, @page), class: "btn btn-secondary d-block mb-1"
@@ -2,8 +2,10 @@
2
2
  .box.revisions
3
3
  = link_to t('.revision', count: @translation.revisions.count), comfy_admin_cms_site_page_translation_revisions_path(@site, @page, @translation), class: "btn btn-info d-block"
4
4
 
5
+ = render partial: "comfy/admin/cms/translations/sidebar"
6
+
5
7
  .page-header
6
8
  %h2= t('.title')
7
9
 
8
- = comfy_form_for @translation, as: :translation, url: {action: :update} do |form|
10
+ = comfy_form_for @translation, as: :translation, url: {action: :update}, html: {multipart: true} do |form|
9
11
  = render form
@@ -1,5 +1,5 @@
1
1
  .page-header
2
2
  %h2= t('.title')
3
3
 
4
- = comfy_form_for @translation, as: :translation, url: {action: :create} do |form|
4
+ = comfy_form_for @translation, as: :translation, url: {action: :create}, html: {multipart: true} do |form|
5
5
  = render form
@@ -145,10 +145,6 @@ cs:
145
145
  title: Nová stránka
146
146
  edit:
147
147
  title: Úprava stránky
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ cs:
158
154
  cancel: Zrušit
159
155
  update: Upravit stránku
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Rozložení nedefinuje žádné obsahové značky.<br/>
164
- Upravte jeho obsah tak, aby zahrnovalo obsahové značky. Například: <code>{{cms:fragment content}}</code>
160
+ Upravte jeho obsah tak, aby zahrnovalo obsahové značky. Například: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ cs:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Úryvek vytvořen
@@ -145,10 +145,6 @@ da:
145
145
  title: Ny side
146
146
  edit:
147
147
  title: Rediger side
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ da:
158
154
  cancel: Annuller
159
155
  update: Opdater side
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Layout har ingen indholdtags defineret.<br/>
164
- Rediger indholdet for at inkluderere et side- eller felttag. Eksempelvis: <code>{{cms:fragment content}}</code>
160
+ Rediger indholdet for at inkluderere et side- eller felttag. Eksempelvis: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ da:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snippet oprettet
@@ -145,10 +145,6 @@ de:
145
145
  title: Seite erstellen
146
146
  edit:
147
147
  title: Seite bearbeiten
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ de:
158
154
  cancel: Abbrechen
159
155
  update: Seite speichern
160
156
  choose_link: Seite auswählen...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Das gewählte Layout hat kein Comfy-Tags deklariert, daher kann diese Seite nicht bearbeitet werden.<br/>
164
- Beispiel: <code>{{ cms:page:content }}</code>
160
+ Beispiel: <code>{{ cms:wysiwyg content }}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ de:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Schnipsel erstellt
@@ -145,10 +145,6 @@ en:
145
145
  title: New Page
146
146
  edit:
147
147
  title: Editing Page
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ en:
158
154
  cancel: Cancel
159
155
  update: Update Page
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Layout has no content tags defined.<br/>
164
- Edit the content to include a page or field tag. For example: <code>{{cms:fragment content}}</code>
160
+ Edit the content to include a page or field tag. For example: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ en:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snippet created
@@ -145,10 +145,6 @@ es:
145
145
  title: Nueva Página
146
146
  edit:
147
147
  title: Editando Página
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ es:
158
154
  cancel: Cancelar
159
155
  update: Actualizar Página
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  La plantilla no tiene etiquetas de contenido definidas.<br/>
164
- Edite el contenido para incluir alguna etiqueta de página o campo, por ejemplo: <code>{{cms:fragment content}}</code>
160
+ Edite el contenido para incluir alguna etiqueta de página o campo, por ejemplo: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ es:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Fragmento creado
@@ -145,10 +145,6 @@ fr:
145
145
  title: Nouvelle page
146
146
  edit:
147
147
  title: Modification de la page
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ fr:
158
154
  cancel: Annuler
159
155
  update: Modifier la page
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Mise en page sans aucun tag de contenu.<br/>
164
- Modifiez le contenu pour y ajouter un tag de page ou de champ. Exemple : <code>{{cms:fragment content}}</code>
160
+ Modifiez le contenu pour y ajouter un tag de page ou de champ. Exemple : <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ fr:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Fragment créé
@@ -145,10 +145,6 @@ it:
145
145
  title: Nuova Pagina
146
146
  edit:
147
147
  title: Modifica Pagina
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ it:
158
154
  cancel: Cancellare
159
155
  update: Modifica Pagina
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Il Layout non ha tag di contenuto definiti.<br/>
164
- Modifica il contenuto per includere una pagina o un campo. Per esempio: <code>{{cms:fragment content}}</code>
160
+ Modifica il contenuto per includere una pagina o un campo. Per esempio: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ it:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snippet creato
@@ -145,10 +145,6 @@ ja:
145
145
  title: 新規ページ
146
146
  edit:
147
147
  title: ページを編集
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ ja:
158
154
  cancel: キャンセル
159
155
  update: ページを更新
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  レイアウトにはコンテンツタグが定義されていません。<br/>
164
- コンテンツを編集してページまたはフィールドタグを含めてください。 例: <code>{{cms:fragment content}}</code>
160
+ コンテンツを編集してページまたはフィールドタグを含めてください。 例: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ ja:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: スニペットが作成されました
@@ -145,10 +145,6 @@ nb:
145
145
  title: Ny side
146
146
  edit:
147
147
  title: Endrer side
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ nb:
158
154
  cancel: Cancel
159
155
  update: Endre side
160
156
  choose_link: Velg side...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  layout har ingen innholdsknagger definert.<br/>
164
- Endre innholdet til å inkludere innhold- eller feltknagg. For eksempel: <code>{{cms:fragment content}}</code>
160
+ Endre innholdet til å inkludere innhold- eller feltknagg. For eksempel: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ nb:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snutt opprettet
@@ -145,10 +145,6 @@ nl:
145
145
  title: Nieuwe Pagina
146
146
  edit:
147
147
  title: Pagina Bewerken
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ nl:
158
154
  cancel: Annuleren
159
155
  update: Pagina Bijwerken
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Lay-out heeft geen inhoud-tags gedefinieerd.<br/>
164
- Bewerk de inhoud van de lay-out om een inhoud-tag toe te voegen. Bijvoorbeeld: <code>{{cms:fragment content}}</code>
160
+ Bewerk de inhoud van de lay-out om een inhoud-tag toe te voegen. Bijvoorbeeld: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ nl:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snippet aangemaakt
@@ -145,10 +145,6 @@ pl:
145
145
  title: Nowa strona
146
146
  edit:
147
147
  title: Edytuj stronę
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ pl:
158
154
  cancel: Anuluj
159
155
  update: Uaktualnij stronę
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Szablon nie ma zdefiniowanych tagów<br/>
164
- Dodaj do jego treści tag strony lub pola, np. <code>{{cms:fragment content}}</code>
160
+ Dodaj do jego treści tag strony lub pola, np. <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ pl:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snippet został utworzony
@@ -145,10 +145,6 @@ pt-BR:
145
145
  title: Nova Página
146
146
  edit:
147
147
  title: Editando Página
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ pt-BR:
158
154
  cancel: Cancelar
159
155
  update: Atualizar Página
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  O leiaute não possui tags de conteúdo definidas.<br/>
164
- Edite o conteúdo e inclua uma tag de página ou de campo. Por exemplo: <code>{{cms:fragment content}}</code>
160
+ Edite o conteúdo e inclua uma tag de página ou de campo. Por exemplo: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ pt-BR:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Fragmento criado com sucesso.
@@ -145,10 +145,6 @@ ru:
145
145
  title: Новая страница
146
146
  edit:
147
147
  title: Редактирование страницы
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ ru:
158
154
  cancel: Oтменить
159
155
  update: Обновить страницу
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Шаблон не содержит ни одного контент-тега.<br/>
164
- Отредактируйте контент, вставив тег страницы или поля. Например: <code>{{cms:fragment content}}</code>
160
+ Отредактируйте контент, вставив тег страницы или поля. Например: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ ru:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Сниппет создан
@@ -145,10 +145,6 @@ sk:
145
145
  title: Nová stránka
146
146
  edit:
147
147
  title: Úprava stránky
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ sk:
158
154
  cancel: Zrušiť
159
155
  update: Upraviť stránku
160
156
  choose_link: Zvoľte stránku...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Rozloženie nemá definované žiadne značky obsahu.<br/>
164
- Upravte obsah tak, aby obsahoval značky stránok alebo polí. Napríklad: <code>{{cms:fragment content}}</code>
160
+ Upravte obsah tak, aby obsahoval značky stránok alebo polí. Napríklad: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ sk:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Fragment vytvorený
@@ -145,10 +145,6 @@ sv:
145
145
  title: Ny sida
146
146
  edit:
147
147
  title: Ändra sida
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ sv:
158
154
  cancel: Avbryt
159
155
  update: Uppdatera sida
160
156
  choose_link: Välj sida...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Layout har inga innehållstaggar definierade.<br/>
164
- Ändra innehållet så att det innehåller en sid eller fält tagg. Exempelvis: <code>{{cms:fragment content}}</code>
160
+ Ändra innehållet så att det innehåller en sid eller fält tagg. Exempelvis: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ sv:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Snippet skapad
@@ -145,10 +145,6 @@ tr:
145
145
  title: Yeni Sayfa
146
146
  edit:
147
147
  title: Sayfa Düzenleniyor
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ tr:
158
154
  cancel: İptal
159
155
  update: Sayfayı Güncelle
160
156
  choose_link: Sayfa Seç...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Şablon etiket içermiyor.<br/>
164
- Lütfen bir etiket ekleyin. Örnek: <code>{{cms:fragment content}}</code>
160
+ Lütfen bir etiket ekleyin. Örnek: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ tr:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Pasaj oluşturuldu
@@ -145,10 +145,6 @@ uk:
145
145
  title: Нова сторінка
146
146
  edit:
147
147
  title: Редагування сторінки
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ uk:
158
154
  cancel: Cкасувати
159
155
  update: Оновити сторінку
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  Шаблон не містить жодного контент-тега. <br/>
164
- Відредагуйте контент, вставивши тег сторінки або поля. Наприклад: <code>{{cms:fragment content}}</code>
160
+ Відредагуйте контент, вставивши тег сторінки або поля. Наприклад: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ uk:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: Сніппет створено
@@ -145,10 +145,6 @@ zh-CN:
145
145
  title: 新页面
146
146
  edit:
147
147
  title: 编辑页面
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ zh-CN:
158
154
  cancel: 取消
159
155
  update: 更新页面
160
156
  choose_link: Select page...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  布局中没有定义内容标签。<br/>
164
- 编辑内容使其包含一个页面或者field标签。例如: <code>{{cms:fragment content}}</code>
160
+ 编辑内容使其包含一个页面或者field标签。例如: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ zh-CN:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: 片段创建成功
@@ -145,10 +145,6 @@ zh-TW:
145
145
  title: 新頁面
146
146
  edit:
147
147
  title: 編輯頁面
148
- translation:
149
- create: Create Translation
150
- delete: Delete
151
- confirm: Are you sure?
152
148
  revision:
153
149
  <<: *revision
154
150
  form:
@@ -158,10 +154,10 @@ zh-TW:
158
154
  cancel: 取消
159
155
  update: 更新頁面
160
156
  choose_link: 選擇頁面...
161
- form_blocks:
157
+ form_fragments:
162
158
  no_tags: |-
163
159
  佈局中沒有定義內容標記。<br/>
164
- 編輯內容使其包含一個頁面或者欄位標記。例如: <code>{{cms:fragment content}}</code>
160
+ 編輯內容使其包含一個頁面或者欄位標記。例如: <code>{{cms:wysiwyg content}}</code>
165
161
 
166
162
  translations:
167
163
  created: Translation created
@@ -182,6 +178,10 @@ zh-TW:
182
178
  create: Create
183
179
  update: Update
184
180
  cancel: Return to Page
181
+ sidebar:
182
+ new: New Translation
183
+ delete: Delete
184
+ confirm: Are you sure?
185
185
 
186
186
  snippets:
187
187
  created: 片段創建成功
@@ -1,3 +1,3 @@
1
1
  module ComfortableMexicanSofa
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Khabarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -445,6 +445,7 @@ files:
445
445
  - app/views/comfy/admin/cms/snippets/index.html.haml
446
446
  - app/views/comfy/admin/cms/snippets/new.html.haml
447
447
  - app/views/comfy/admin/cms/translations/_form.html.haml
448
+ - app/views/comfy/admin/cms/translations/_sidebar.html.haml
448
449
  - app/views/comfy/admin/cms/translations/edit.html.haml
449
450
  - app/views/comfy/admin/cms/translations/form_fragments.js.erb
450
451
  - app/views/comfy/admin/cms/translations/new.html.haml