5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:06:21 +00:00

eliminar las migas de pan casero

This commit is contained in:
f 2021-05-09 13:02:09 -03:00
parent cb8032d9e1
commit 0a5908d02d
22 changed files with 8 additions and 87 deletions

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('.index'), sites_path), t('.title')]
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: nil
= content_for :body do = content_for :body do
- 'black-bg' - 'black-bg'

View file

@ -1,7 +0,0 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, site_path(@site)),
t('i18n.index'),
t('i18n.edit')]
= render 'i18n/form'

View file

@ -3,21 +3,14 @@
= inline_svg_tag 'sutty.svg', class: 'black', aria: true, = inline_svg_tag 'sutty.svg', class: 'black', aria: true,
title: t('svg.sutty.title'), desc: t('svg.sutty.desc') title: t('svg.sutty.title'), desc: t('svg.sutty.desc')
- if crumbs %nav{ aria: { label: t('.title') } }
%nav{ aria: { label: t('.title') }, role: 'navigation' }
%ol.breadcrumb %ol.breadcrumb
%li.breadcrumb-item - breadcrumb_trail do |crumb|
= link_to edit_usuarie_registration_path, %li.breadcrumb-item{ class: crumb.current? ? 'active' : '' }
data: { toggle: 'tooltip' }, - if crumb.current?
title: t('help.usuarie.edit') do %span{ aria: { current: 'page' } }= crumb.name
= current_usuarie.email
- crumbs.compact.each do |crumb|
- if crumb == crumbs.last
%li.breadcrumb-item.active{ aria: { current: 'page' } }
= crumb
- else - else
%li.breadcrumb-item= crumb %span= link_to crumb.name, crumb.url
- if current_usuarie - if current_usuarie
%ul.navbar-nav %ul.navbar-nav

View file

@ -20,6 +20,7 @@
%body{ class: yield(:body) } %body{ class: yield(:body) }
.container-fluid#sutty .container-fluid#sutty
= render 'layouts/breadcrumb'
= yield = yield
- if flash[:js] - if flash[:js]
.js-flash.d-none{ data: flash[:js] } .js-flash.d-none{ data: flash[:js] }

View file

@ -1,10 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, site_posts_path(@site)),
link_to(t('posts.index'), site_posts_path(@site)),
link_to(@post.title.value, site_post_path(@site, @post.id)),
t('posts.edit')]
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8
= render 'posts/form', site: @site, post: @post = render 'posts/form', site: @site, post: @post

View file

@ -1,10 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'),
site_posts_path(@site)),
@category_name]
%main.row %main.row
%aside.menu.col-md-3 %aside.menu.col-md-3
%h1= link_to @site.title, @site.url %h1= link_to @site.title, @site.url

View file

@ -1,9 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'),
site_posts_path(@site)), t('posts.new')]
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8
= render 'posts/form', site: @site, post: @post = render 'posts/form', site: @site, post: @post

View file

@ -1,9 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'), site_posts_path(@site)),
@post.title.value]
- dir = t("locales.#{@locale}.dir") - dir = t("locales.#{@locale}.dir")
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8

View file

@ -1,6 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
t('.title', site: @site.name)]
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8
%h1= t('.title', site: @site.name) %h1= t('.title', site: @site.name)

View file

@ -1,6 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path), t('.title')]
.row.justify-content-center .row.justify-content-center
.col-md-8#pull .col-md-8#pull
%h1= t('.title') %h1= t('.title')

View file

@ -1,5 +1,3 @@
= render 'layouts/breadcrumb', crumbs: [t('sites.index.title')]
%main.row %main.row
%aside.col-md-3 %aside.col-md-3
%h1= t('.title') %h1= t('.title')

View file

@ -1,6 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path), t('.title')]
.row.justify-content-center .row.justify-content-center
.col-md-8 .col-md-8
%h1= t('.title') %h1= t('.title')

View file

@ -1,8 +1,3 @@
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
link_to(@site.name, @site),
t('.title')]
.row .row
.col .col
%h1= t('.title') %h1= t('.title')

View file

@ -1,11 +1,5 @@
- invite_as = t("usuaries.invite_as.#{params[:invite_as]}") - invite_as = t("usuaries.invite_as.#{params[:invite_as]}")
= render 'layouts/breadcrumb',
crumbs: [link_to(t('sites.index.title'), sites_path),
@site.name,
link_to(t('posts.index'), site_usuaries_path(@site)),
t('.title', invite_as: invite_as)]
.row .row
.col .col
%h1= t('.title', invite_as: invite_as) %h1= t('.title', invite_as: invite_as)