Refactoring Admin menu #384
This commit is contained in:
parent
518e1cc62b
commit
d1f5b1e3cc
30 changed files with 865 additions and 190 deletions
31
app/views/admin/conference_contacts/_show.html.haml
Normal file
31
app/views/admin/conference_contacts/_show.html.haml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
%ul.list-unstyled
|
||||
- unless @conference.contact_email.blank?
|
||||
%li
|
||||
= link_to "#{ @conference.contact_email }" do
|
||||
%i.fa.fa-envelope.fa-3x
|
||||
= @conference.contact_email
|
||||
- unless @conference.social_tag.blank?
|
||||
%li
|
||||
= link_to "#{ @conference.social_tag }" do
|
||||
%i.fa.fa-thumbs-o-up.fa-3x
|
||||
= "##{@conference.social_tag}"
|
||||
- unless @conference.facebook_url.blank?
|
||||
%li
|
||||
= link_to "#{ @conference.facebook_url }" do
|
||||
%i.fa.fa-facebook-square.fa-3x
|
||||
= @conference.facebook_url
|
||||
- unless @conference.twitter_url.blank?
|
||||
%li
|
||||
= link_to "#{ @conference.twitter_url }" do
|
||||
%i.fa.fa-twitter.fa-3x
|
||||
= @conference.twitter_url
|
||||
- unless @conference.instagram_url.blank?
|
||||
%li
|
||||
= link_to "#{ @conference.instagram_url }" do
|
||||
%i.fa.fa-instagram.fa-3x
|
||||
= @conference.instagram_url
|
||||
- unless @conference.google_url.blank?
|
||||
%li
|
||||
= link_to "#{ @conference.google_url }" do
|
||||
%i.fa.fa-google.fa-3x
|
||||
= @conference.google_url
|
||||
Loading…
Add table
Add a link
Reference in a new issue