Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Share refactoring. Share for all kind of resources.
- Loading branch information
Showing
14 changed files
with
163 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<a class="btn btn-xs btn-secundary" href="mailto:?subject=<%= t('excursion.invite.email.subject', :url=> Vish::Application.config.APP_CONFIG["domain"], :title => CGI::escape(title || "")) %>&body=<%= t('excursion.invite.email.body', { :url => url, :name => CGI::escape(name) }) %>" title="<%=t('sharing.email')%>"> | ||
<i class="fa fa-envelope"></i><%=t('excursion.actions.send_email') %> | ||
|
||
<a class="btn btn-xs btn-secundary" href="mailto:?subject=<%= t('sharing.email.subject', :url=> Vish::Application.config.APP_CONFIG["domain"], :title => url_encode(title || "")) %>&body=<%= t('sharing.email.body', { :url => url, :name => url_encode(name) }) %>" title="<%=t('sharing.email.title')%>"> | ||
<i class="fa fa-envelope"></i><%=t('sharing.email.action') %> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="social_toolbar_resource"> | ||
<div class="social_toolbar_resource"> | ||
<div class="social social_email"> | ||
<%= render :partial=>'shareon/email', :locals=>{:url=>url, :title => title, :name => name} %> | ||
</div> | ||
<div class="social social_twitter"> | ||
<%= render :partial=>'shareon/twitter', :locals=>{:url=>url, :counturl=>url} %> | ||
</div> | ||
<div class="social social_facebook"> | ||
<%= render :partial=>'shareon/facebook', :locals=>{:url=>url} %> | ||
</div> | ||
<div class="social social_gplus"> | ||
<%= render :partial=>'shareon/gplus', :locals=>{:url=>url} %> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.