Missing awesome icons

This commit is contained in:
echarp 2018-02-11 18:06:32 +01:00
parent 3d338b3018
commit 073893424d
19 changed files with 54 additions and 41 deletions

View File

@ -33,6 +33,7 @@ body.mce-content-body
margin: 0 margin: 0
padding: 0.8em padding: 0.8em
text-align: right text-align: right
padding-left: 0
.helper .helper
color: #888 color: #888
padding: 0.8em padding: 0.8em

View File

@ -1,5 +1,5 @@
%h2 %h2
%em.fa.fa-trash-o %em.fa.fa-trash-alt
= t '.title' = t '.title'
- if @event.moderated? - if @event.moderated?
@ -14,8 +14,13 @@
= f.label :reason = f.label :reason
= f.text_area :reason, cols: 40, rows: 5 = f.text_area :reason, cols: 40, rows: 5
= f.submit t('.ok'), name: :yes .actions
= link_to t('.ko'), @event, class: :button = link_to @event do
%em.fa.fa-arrow-left
= t '.ko'
= f.button do
%em.fa.fa-check
= t '.ok'
%fieldset %fieldset
%legend= Event.model_name.human %legend= Event.model_name.human

View File

@ -1,10 +1,10 @@
%h2 %h2
%em.fa.fa-pencil %em.fa.fa-edit
= t '.title' = t '.title'
- if @event.moderated? - if @event.moderated?
%h3.warning %h3.warning
%em.fa.fa-warning %em.fa.fa-exclamation-triangle
= t '.warning' = t '.warning'
%fieldset %fieldset
@ -15,6 +15,6 @@
%fieldset %fieldset
%legend %legend
%em.fa.fa-pencil %em.fa.fa-edit
= t '.edit' = t '.edit'
= render '/events/form' = render '/events/form'

View File

@ -1,5 +1,5 @@
%h2 %h2
%em.fa.fa-pencil %em.fa.fa-edit
= title t '.title' = title t '.title'
- if @event.description - if @event.description

View File

@ -55,7 +55,7 @@
- if user_signed_in? - if user_signed_in?
%h2 %h2
= link_to edit_moderation_path @event do = link_to edit_moderation_path @event do
%em.fa.fa-lg.fa-pencil %em.fa.fa-lg.fa-edit
= t '.edit' = t '.edit'
%h2 %h2
= link_to cancel_event_path @event, secret: @event.secret do = link_to cancel_event_path @event, secret: @event.secret do

View File

@ -1,10 +1,10 @@
%h2 %h2
%em.fa.fa-pencil %em.fa.fa-edit
= t '.title' = t '.title'
- if @moderation.moderated? - if @moderation.moderated?
%h3.warning %h3.warning
%em.fa.fa-warning %em.fa.fa-exclamation-triangle
= t '.warning' = t '.warning'
%fieldset %fieldset
@ -15,6 +15,6 @@
%fieldset %fieldset
%legend %legend
%em.fa.fa-pencil %em.fa.fa-edit
= t '.edit' = t '.edit'
= render '/events/form' = render '/events/form'

View File

@ -24,7 +24,7 @@
%td= time_ago_in_words orga.submission_time %td= time_ago_in_words orga.submission_time
%th.actions %th.actions
= link_to edit_orga_path orga do = link_to edit_orga_path orga do
%em.fa.fa-pencil %em.fa.fa-edit
= t 'edit' = t 'edit'
\- \-
= link_to validate_orga_path orga do = link_to validate_orga_path orga do
@ -59,7 +59,7 @@
%td= time_ago_in_words event.submission_time %td= time_ago_in_words event.submission_time
%th.actions %th.actions
= link_to edit_moderation_path event do = link_to edit_moderation_path event do
%em.fa.fa-pencil %em.fa.fa-edit
= t 'edit' = t 'edit'
\- \-
= link_to validate_moderation_path event do = link_to validate_moderation_path event do
@ -90,5 +90,5 @@
.logout .logout
= link_to destroy_user_session_path, method: :delete do = link_to destroy_user_session_path, method: :delete do
%em.fa.fa-sign-out %em.fa.fa-sign-out-alt
= t 'logout' = t 'logout'

View File

@ -31,7 +31,7 @@
OpenStreetMap OpenStreetMap
%li %li
= link_to maps_path format: :json, tag: @orga.name_as_tag do = link_to maps_path format: :json, tag: @orga.name_as_tag do
%em.fa.fa-li.fa-dot-circle-o %em.fa.fa-li.fa-dot-circle
GeoJSON GeoJSON
- if @orga.secret.nil? || user_signed_in? - if @orga.secret.nil? || user_signed_in?
@ -40,7 +40,7 @@
= t '.actions' = t '.actions'
%h2 %h2
= link_to edit_orga_path @orga do = link_to edit_orga_path @orga do
%em.fa.fa-lg.fa-pencil %em.fa.fa-lg.fa-edit
= t '.edit' = t '.edit'
- if user_signed_in? - if user_signed_in?
%h2 %h2

View File

@ -45,9 +45,9 @@
/= f.text_area :description, rows: 25, class: :description /= f.text_area :description, rows: 25, class: :description
= f.text_field :description, class: :description = f.text_field :description, class: :description
.field.url{ title: t('.url_helper') } .field.url.required{ title: t('.url_helper') }
= f.label :url = f.label :url
= f.url_field :url, placeholder: 'Ex: https://april.org' = f.url_field :url, required: true, placeholder: 'Ex: https://april.org'
.field.diaspora .field.diaspora
= f.label :diaspora = f.label :diaspora
= f.url_field :diaspora = f.url_field :diaspora

View File

@ -1,5 +1,5 @@
%h2 %h2
%em.fa.fa-trash-o %em.fa.fa-trash-alt
= t '.title' = t '.title'
- if @orga.moderated? - if @orga.moderated?
@ -10,8 +10,13 @@
= hidden_field_tag :secret, params[:secret] = hidden_field_tag :secret, params[:secret]
%h2= t '.confirm' %h2= t '.confirm'
= f.submit t('.ok'), name: :yes .actions
= link_to t('.ko'), @orga, class: :button = link_to @orga do
%em.fa.fa-arrow-left
= t '.ko'
= f.button do
%em.fa.fa-check
= t '.ok'
%fieldset %fieldset
%legend= Orga.model_name.human %legend= Orga.model_name.human

View File

@ -4,6 +4,6 @@
%fieldset %fieldset
%legend %legend
%em.fa.fa-pencil %em.fa.fa-edit
= t '.edit' = t '.edit'
= render 'form' = render 'form'

View File

@ -59,7 +59,7 @@
%td.edit %td.edit
- if orga.secret.nil? || user_signed_in? - if orga.secret.nil? || user_signed_in?
= link_to edit_orga_path orga do = link_to edit_orga_path orga do
%em.fa.fa-pencil %em.fa.fa-edit
%tfoot %tfoot
%tr %tr

View File

@ -4,6 +4,6 @@
%fieldset %fieldset
%legend %legend
%em.fa.fa-pencil %em.fa.fa-edit
= t '.edit' = t '.edit'
= render 'form' = render 'form'

View File

@ -37,7 +37,7 @@
%dd= @orga.department %dd= @orga.department
- if @orga.url.present? - if @orga.url.present?
%dt %dt
%em.fa.fa-external-link %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?

View File

@ -73,7 +73,9 @@
%th.quantity.total= number_with_delimiter total %th.quantity.total= number_with_delimiter total
%td.sparkline/ %td.sparkline/
%h3= t '.city' %h3
%em.fa.fa-building
= t '.city'
%p= t '.city_conditions' %p= t '.city_conditions'

View File

@ -30,7 +30,7 @@
OpenStreetMap OpenStreetMap
%li %li
= link_to maps_path format: :json, tag: params[:id] do = link_to maps_path format: :json, tag: params[:id] do
%em.fa.fa-li.fa-dot-circle-o %em.fa.fa-li.fa-dot-circle
GeoJSON GeoJSON
- @events_future.order('start_time asc').each do |event| - @events_future.order('start_time asc').each do |event|

View File

@ -45,7 +45,7 @@ en:
department: Department department: Department
region: Region region: Region
url: Web address url: Web address
diaspora: diaspora* diaspora: diaspora
feed: Syndication feed: Syndication
contact: Contact contact: Contact
submitter: Soumetteur submitter: Soumetteur

View File

@ -45,7 +45,7 @@ fr:
department: Département department: Département
region: Région region: Région
url: Adresse web url: Adresse web
diaspora: diaspora* diaspora: diaspora
feed: Syndication feed: Syndication
contact: Contact contact: Contact
submitter: Soumetteur submitter: Soumetteur

View File

@ -45,7 +45,7 @@ pt-BR:
department: Bairro department: Bairro
region: Estado region: Estado
url: Site url: Site
diaspora: diaspora* diaspora: diaspora
feed: RSS feed: RSS
contact: Contato contact: Contato
submitter: Remetente submitter: Remetente