The diaspora icon is configured everywhere. Refs #61

This commit is contained in:
echarp 2018-03-18 15:33:48 +01:00
parent 34235dbbaa
commit 3e044ca64a
8 changed files with 19 additions and 20 deletions

View File

@ -109,7 +109,7 @@ input, textarea, select, a.button, .actions > button, .mce-tinymce, div.tagsinpu
input input
font-size: x-large font-size: x-large
.field .field, .list, dl
&.required &.required
& > label, & .field_with_errors > label & > label, & .field_with_errors > label
&:after &:after
@ -154,15 +154,14 @@ input, textarea, select, a.button, .actions > button, .mce-tinymce, div.tagsinpu
content: fa-content($fa-var-envelope) content: fa-content($fa-var-envelope)
&.url label:before, th.url:before &.url label:before, th.url:before
content: fa-content($fa-var-external-link-alt) 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: "*" content: "*"
font-size: 42px font-size: 42px
margin-top: -0.1em
font-weight: bold font-weight: bold
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif
line-height: 0
margin-right: 0.1em margin-right: 0.1em
margin-bottom: -1em vertical-align: middle
vertical-align: top
&.tags label:before, th.tags a:before &.tags label:before, th.tags a:before
content: fa-content($fa-var-tags) content: fa-content($fa-var-tags)
&.active label:before &.active label:before

View File

@ -48,7 +48,7 @@
%td.diaspora %td.diaspora
- if orga.diaspora.present? - if orga.diaspora.present?
= link_to orga.diaspora do = 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 %td.feed
- if orga.feed.present? - if orga.feed.present?
= link_to orga.feed do = link_to orga.feed do

View File

@ -31,58 +31,58 @@
%dl %dl
- if @orga.department.present? - if @orga.department.present?
%dt %dt.department
%em.fa.fa-puzzle-piece %em.fa.fa-puzzle-piece
= Orga.human_attribute_name :department = Orga.human_attribute_name :department
%dd= @orga.department %dd= @orga.department
- if @orga.url.present? - if @orga.url.present?
%dt %dt.url
%em.fa.fa-external-link-alt %em.fa.fa-external-link-alt
= Orga.human_attribute_name :url = Orga.human_attribute_name :url
%dd= link_to @orga.url, sanitize(@orga.url) %dd= link_to @orga.url, sanitize(@orga.url)
- if @orga.diaspora.present? - if @orga.diaspora.present?
%dt %dt.diaspora
%em.fa.fa-bullhorn %em.fa
= Orga.human_attribute_name :diaspora = Orga.human_attribute_name :diaspora
%dd= link_to @orga.diaspora, @orga.diaspora %dd= link_to @orga.diaspora, @orga.diaspora
- if @orga.feed.present? - if @orga.feed.present?
%dt %dt.feed
%em.fa.fa-rss %em.fa.fa-rss
= Orga.human_attribute_name :feed = Orga.human_attribute_name :feed
%dd= link_to @orga.feed, @orga.feed %dd= link_to @orga.feed, @orga.feed
- if @orga.contact.present? - if @orga.contact.present?
%dt %dt.contact
%em.fa.fa-envelope %em.fa.fa-envelope
= Event.human_attribute_name :contact = Event.human_attribute_name :contact
%dd= mail_to @orga.contact, nil, %dd= mail_to @orga.contact, nil,
encode: (request.format == 'text/html' ? :javascript : nil), encode: (request.format == 'text/html' ? :javascript : nil),
replace_at: ' CHEZ ', replace_dot: ' POINT ' replace_at: ' CHEZ ', replace_dot: ' POINT '
- if @orga.tags.any? - if @orga.tags.any?
%dt %dt.tags
%em.fa.fa-tags %em.fa.fa-tags
= Event.human_attribute_name :tags = Event.human_attribute_name :tags
%dd %dd
- @orga.tags.each do |tag| - @orga.tags.each do |tag|
= link_to tag, tag_path(tag.name), rel: :tag = link_to tag, tag_path(tag.name), rel: :tag
%dt %dt.active
%em.fa.fa-heartbeat %em.fa.fa-heartbeat
= Orga.human_attribute_name :active = Orga.human_attribute_name :active
%dd= t @orga.active.to_s %dd= t @orga.active.to_s
- if @orga.updated_at - if @orga.updated_at
%dt %dt.updated_at
%em.fa.fa-calendar %em.fa.fa-calendar
= Orga.human_attribute_name :updated_at = Orga.human_attribute_name :updated_at
%dd= l @orga.updated_at.to_date, format: :long %dd= l @orga.updated_at.to_date, format: :long
- if @events_future && @events_future.any? - if @events_future && @events_future.any?
%dt %dt.future
%em.fa.fa-forward %em.fa.fa-forward
= t '.future' = t '.future'
%dd %dd
= link_to tag_path @orga.name_as_tag do = link_to tag_path @orga.name_as_tag do
= t '.count', count: @events_future.count = t '.count', count: @events_future.count
- if @events_future && @events_past.any? - if @events_future && @events_past.any?
%dt %dt.past
%em.fa.fa-backward %em.fa.fa-backward
= t '.past' = t '.past'
%dd %dd

View File

@ -62251,7 +62251,7 @@ exports.MarkerCluster = MarkerCluster;
branding: false, branding: false,
language: 'fr_FR', language: 'fr_FR',
selector: 'input.description', selector: 'input.description',
content_css: '/assets/application-1f3a9bc051c7b93a30b38369e4f828d97ae85311376334bf1696293a00b9699f.css', content_css: '/assets/application-cfcd654a4cc222e1d42c078cb2c0eee770e42daffcd61df42f31e7f9aaa5bea2.css',
entity_encoding: 'raw', entity_encoding: 'raw',
add_unload_trigger: true, add_unload_trigger: true,
browser_spellcheck: true, browser_spellcheck: true,