Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bilder für Social Media hinzugefuegt

  • Loading branch information...
commit 01e9ace1b0358c5783db2d5f43b1a079055061da 1 parent aa62262
@YannickRtz YannickRtz authored
View
3  edelbiter/app/views/schokolade/_facebook.haml
@@ -1,2 +1,5 @@
+= link_to image_tag('/pictures/facebook.png'), url_for('http://www.facebook.com/edelbiter')
+%br
+%br
=javascript_include_tag('facebook.js')
.fb-like{"data-href" => "http://www.facebook.com/edelbiter", "data-layout" => "box_count", "data-send" => "true", "data-show-faces" => "true", "data-width" => "40"}
View
10 edelbiter/app/views/schokolade/index.haml
@@ -6,14 +6,18 @@
%hr
#social_media
- -#%p Aktuelle Tweets:
- -#%br
+
%table
+ =javascript_include_tag('twitterFolgen.js')
%tr
+ = link_to image_tag('/pictures/twitter.png'), url_for('http://www.twitter.com/edelbiter')
+ %a.twitter-follow-button{"data-lang" => "de", "data-show-count" => "false", "data-show-screen-name" => "false", :href => "https://twitter.com/edelbiter"} @edelbiter folgen
+ = link_to '@edelbiter', url_for('http://www.twitter.com/edelbiter')
+ %br
+ %br
= partial 'schokolade/tweet', :collection => @tweets
%td#facebook
= partial 'schokolade/facebook'
- %p (Facebook)
%hr
View
1  edelbiter/public/javascripts/twitterFolgen.js
@@ -0,0 +1 @@
+!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
View
BIN  edelbiter/public/pictures/facebook.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  edelbiter/public/pictures/twitter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  edelbiter/public/stylesheets/application.css
@@ -212,7 +212,7 @@ body {
border-left:1px solid #EEE;
padding-left:20px;
text-align: center;
- vertical-align: middle;
+ vertical-align: top;
}
#posts .post{

1 comment on commit 01e9ace

@EricLambrecht

nice!

Please sign in to comment.
Something went wrong with that request. Please try again.