1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2026-02-21 19:12:05 +00:00

Replace E-Mail term with icon in impressum

This commit is contained in:
Holger Just 2016-01-20 23:48:29 +01:00
parent f4a1a39946
commit 50ea0cf1e9
2 changed files with 4 additions and 2 deletions

View File

@ -135,7 +135,6 @@ module MiddlemanCasperHelpers
email = raw_email.tr('!-~', 'P-~!-O').unpack('U*').map{ |code| "&##{code.to_s};"}.join
<<-HTML.tap { |s| s.gsub!(/^#{s.scan(/^[ \t]+(?=\S)/).min}/, '') }.html_safe
E-Mail:
<script type="text/javascript">
(function() {
function decodeHTMLEntities(str) {

View File

@ -11,7 +11,10 @@ Frankfurter Allee 53<br>
10247 Berlin<br>
GERMANY
<p><%= author_email_link %></p>
<p>
<span class="icon-mail"><span class="hidden">E-Mail:</span></span>
<%= author_email_link %>
</p>
Diese Daten dürfen nicht zu Werbezwecken genutzt werden.<br>
This data may not be used for advertising purposes.