Add title attrs to share links

This commit is contained in:
Neil Lalonde 2013-03-26 12:13:20 -04:00
parent 6366c9f86d
commit 7bfd66aa80
2 changed files with 7 additions and 4 deletions

View file

@ -1,14 +1,14 @@
<h3>{{view.title}}</h3>
<div><input type='text' /></div>
<div class="social-link">
<a href="#" {{action sharePopup "twitter" view.twitterUrl}}><i class="icon icon-twitter"></i></a>
<a href="#" {{action sharePopup "twitter" view.twitterUrl}} title='{{i18n share.twitter}}'><i class="icon icon-twitter"></i></a>
</div>
<div class="social-link">
<a href="#" {{action sharePopup "facebook" view.facebookUrl}}><i class="icon icon-facebook-sign"></i></a>
<a href="#" {{action sharePopup "facebook" view.facebookUrl}} title='{{i18n share.facebook}}'><i class="icon icon-facebook-sign"></i></a>
</div>
<div class="social-link">
<a href="#" {{action sharePopup "googlePlus" view.googlePlusUrl}}><i class="icon icon-google-plus"></i></a>
<a href="#" {{action sharePopup "googlePlus" view.googlePlusUrl}} title='{{i18n share.google_plus}}'><i class="icon icon-google-plus"></i></a>
</div>
<div class='link'>
<a href='#' {{action close target="controller"}}><i class="icon icon-remove-sign"></i></a>
<a href='#' {{action close target="controller"}} title='{{i18n share.close}}'><i class="icon icon-remove-sign"></i></a>
</div>

View file

@ -8,6 +8,9 @@ en:
topic: 'share a link to this topic'
post: 'share a link to this post'
close: 'close'
twitter: 'share this link on Twitter'
facebook: 'share this link on Facebook'
google_plus: 'share this link on Google+'
edit: 'edit the title and category of this topic'
not_implemented: "That feature hasn't been implemented yet, sorry!"