app/views/elabs/languages/show.html.haml in elabs-4.0.0 vs app/views/elabs/languages/show.html.haml in elabs-5.0.0

- old
+ new

@@ -1,38 +1,43 @@ - @page_title = @language.name .language.language--full - %aside + %aside.always--inline %ul - %li - = icon('info', ['fw']) - %strong= _('ISO 639-1 code') - = @language.iso639_1 %li.separator - = icon('amount', ['fw']) - %b= _('Albums:') - = @language.albums_count - %li - = icon('amount', ['fw']) - %b= _('Articles:') - = @language.articles_count - %li - = icon('amount', ['fw']) - %b= _('Notes:') - = @language.notes_count - %li - = icon('amount', ['fw']) - %b= _('Projects:') - = @language.projects_count - %li - = icon('amount', ['fw']) - %b= _('Uploads:') - = @language.uploads_count + %ul + %li + = icon('info', ['fw']) + %strong= _('ISO 639-1 code') + = @language.iso639_1 + %li.separator + %ul + %li + = icon('amount', ['fw']) + %b= _('Albums:') + = @language.albums_count + %li + = icon('amount', ['fw']) + %b= _('Articles:') + = @language.articles_count + %li + = icon('amount', ['fw']) + %b= _('Notes:') + = @language.notes_count + %li + = icon('amount', ['fw']) + %b= _('Projects:') + = @language.projects_count + %li + = icon('amount', ['fw']) + %b= _('Uploads:') + = @language.uploads_count .content - = render 'associations', - language: @language, - language_albums: @language_albums, - language_articles: @language_articles, - language_notes: @language_notes, - language_projects: @language_projects, - language_uploads: @language_uploads + = render 'elabs/layouts/content_associations', + is_section: true, + entity: @language, + albums: @language_albums, + articles: @language_articles, + notes: @language_notes, + projects: @language_projects, + uploads: @language_uploads