The diaspora icon is configured everywhere. Refs #61
This commit is contained in:
parent
34235dbbaa
commit
3e044ca64a
@ -109,7 +109,7 @@ input, textarea, select, a.button, .actions > button, .mce-tinymce, div.tagsinpu
|
||||
input
|
||||
font-size: x-large
|
||||
|
||||
.field
|
||||
.field, .list, dl
|
||||
&.required
|
||||
& > label, & .field_with_errors > label
|
||||
&:after
|
||||
@ -154,15 +154,14 @@ input, textarea, select, a.button, .actions > button, .mce-tinymce, div.tagsinpu
|
||||
content: fa-content($fa-var-envelope)
|
||||
&.url label:before, th.url:before
|
||||
content: fa-content($fa-var-external-link-alt)
|
||||
&.diaspora label:before, th.diaspora:before
|
||||
&.diaspora label:before, td.diaspora em:before, dt.diaspora em:before
|
||||
content: "*"
|
||||
font-size: 42px
|
||||
margin-top: -0.1em
|
||||
font-weight: bold
|
||||
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif
|
||||
line-height: 0
|
||||
margin-right: 0.1em
|
||||
margin-bottom: -1em
|
||||
vertical-align: top
|
||||
vertical-align: middle
|
||||
&.tags label:before, th.tags a:before
|
||||
content: fa-content($fa-var-tags)
|
||||
&.active label:before
|
||||
|
@ -48,7 +48,7 @@
|
||||
%td.diaspora
|
||||
- if orga.diaspora.present?
|
||||
= link_to orga.diaspora do
|
||||
%em.fa.fa-bullhorn{ title: Orga.human_attribute_name(:diaspora) }
|
||||
%em.fa{ title: Orga.human_attribute_name(:diaspora) }
|
||||
%td.feed
|
||||
- if orga.feed.present?
|
||||
= link_to orga.feed do
|
||||
|
@ -31,58 +31,58 @@
|
||||
|
||||
%dl
|
||||
- if @orga.department.present?
|
||||
%dt
|
||||
%dt.department
|
||||
%em.fa.fa-puzzle-piece
|
||||
= Orga.human_attribute_name :department
|
||||
%dd= @orga.department
|
||||
- if @orga.url.present?
|
||||
%dt
|
||||
%dt.url
|
||||
%em.fa.fa-external-link-alt
|
||||
= Orga.human_attribute_name :url
|
||||
%dd= link_to @orga.url, sanitize(@orga.url)
|
||||
- if @orga.diaspora.present?
|
||||
%dt
|
||||
%em.fa.fa-bullhorn
|
||||
%dt.diaspora
|
||||
%em.fa
|
||||
= Orga.human_attribute_name :diaspora
|
||||
%dd= link_to @orga.diaspora, @orga.diaspora
|
||||
- if @orga.feed.present?
|
||||
%dt
|
||||
%dt.feed
|
||||
%em.fa.fa-rss
|
||||
= Orga.human_attribute_name :feed
|
||||
%dd= link_to @orga.feed, @orga.feed
|
||||
- if @orga.contact.present?
|
||||
%dt
|
||||
%dt.contact
|
||||
%em.fa.fa-envelope
|
||||
= Event.human_attribute_name :contact
|
||||
%dd= mail_to @orga.contact, nil,
|
||||
encode: (request.format == 'text/html' ? :javascript : nil),
|
||||
replace_at: ' CHEZ ', replace_dot: ' POINT '
|
||||
- if @orga.tags.any?
|
||||
%dt
|
||||
%dt.tags
|
||||
%em.fa.fa-tags
|
||||
= Event.human_attribute_name :tags
|
||||
%dd
|
||||
- @orga.tags.each do |tag|
|
||||
= link_to tag, tag_path(tag.name), rel: :tag
|
||||
%dt
|
||||
%dt.active
|
||||
%em.fa.fa-heartbeat
|
||||
= Orga.human_attribute_name :active
|
||||
%dd= t @orga.active.to_s
|
||||
- if @orga.updated_at
|
||||
%dt
|
||||
%dt.updated_at
|
||||
%em.fa.fa-calendar
|
||||
= Orga.human_attribute_name :updated_at
|
||||
%dd= l @orga.updated_at.to_date, format: :long
|
||||
|
||||
- if @events_future && @events_future.any?
|
||||
%dt
|
||||
%dt.future
|
||||
%em.fa.fa-forward
|
||||
= t '.future'
|
||||
%dd
|
||||
= link_to tag_path @orga.name_as_tag do
|
||||
= t '.count', count: @events_future.count
|
||||
- if @events_future && @events_past.any?
|
||||
%dt
|
||||
%dt.past
|
||||
%em.fa.fa-backward
|
||||
= t '.past'
|
||||
%dd
|
||||
|
File diff suppressed because one or more lines are too long
@ -62251,7 +62251,7 @@ exports.MarkerCluster = MarkerCluster;
|
||||
branding: false,
|
||||
language: 'fr_FR',
|
||||
selector: 'input.description',
|
||||
content_css: '/assets/application-1f3a9bc051c7b93a30b38369e4f828d97ae85311376334bf1696293a00b9699f.css',
|
||||
content_css: '/assets/application-cfcd654a4cc222e1d42c078cb2c0eee770e42daffcd61df42f31e7f9aaa5bea2.css',
|
||||
entity_encoding: 'raw',
|
||||
add_unload_trigger: true,
|
||||
browser_spellcheck: true,
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user