Commits

Jorge Ezequiel Diaz Marquez committed 5ee29b3

fix issue #44 #41

Comments (0)

Files changed (1)

statics/templates/base.html

         <link rel="icon" href="{{ config.MEDIA_URL }}favicon.ico" />
         <link rel="shortcut icon" href="{{ config.MEDIA_URL }}favicon.ico" />
 
+        <script type="text/javascript">
+          $("a:not([href^='/'])").filter("a:not([href^='http://cotishopfiesta'])").filter("a:not([href^='http://www.cotishopfiesta'])").attr('target', '_blank');
+        </script>
+
 
 		<script type="text/javascript">
 			Cufon.replace('.cufon');
 					<div class="container_12">
 						<div class="grid_12">
 							<div class="header">
-                                <a class="logo" href=""><img class="logo" src="{{ config.MEDIA_URL }}images/logo.png" alt="" /></a>
+                                <a class="logo" href="/"><img class="logo" src="{{ config.MEDIA_URL }}images/logo.png" alt="" /></a>
                                 {% if not user.is_authenticated %}
                                 <form method="POST" action="{% url auth_login %}">{% csrf_token %}
                                 <input type="hidden" name="next" value="{{ active_uri }}" />
 								<ul class="seguinos">
 									<li class="no-border">Seguinos</li>
 									<li><a target="_blank" href="http://www.facebook.com/pages/Cotishop-Fiesta/139575156099934"><img src="{{ config.MEDIA_URL }}images/mini-ico-fb.jpg" /></a></li>
-									<li><a target="_blank" href="http://http://twitter.com/cotishopfiesta"><img src="{{ config.MEDIA_URL }}images/icotwitter.png" /></a></li>
+									<li><a target="_blank" href="http://twitter.com/cotishopfiesta"><img src="{{ config.MEDIA_URL }}images/icotwitter.png" /></a></li>
 									<li class="no-border"><a target="_blank" href="http://www.youtube.com/cotishopfiesta"><img src="{{ config.MEDIA_URL }}images/mini-ico-yt.jpg" /></a></li>
 								</ul>