Commit 49e8f6bf22f7241a99495ea6e208475bb31eb17f

Authored by Aurelio A. Heckert
Committed by Daniela Feitosa
1 parent a4a71f2f

ActionItem1070: removed the end comma. msie sux! and i also add the favicon tag too.

app/views/layouts/application-ng.rhtml
@@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
5 <%= meta_tags_for_article(@page) %> 5 <%= meta_tags_for_article(@page) %>
6 <!--<meta http-equiv="refresh" content="1"/>--> 6 <!--<meta http-equiv="refresh" content="1"/>-->
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  8 + <link rel="shortcut icon" href="<%= '/designs/themes/' + current_theme + '/imgs/favicon.ico' %>" type="image/x-icon" />
8 <%= noosfero_javascript %> 9 <%= noosfero_javascript %>
9 <%= import_blocks_stylesheets %> 10 <%= import_blocks_stylesheets %>
10 <%= import_controller_stylesheets %> 11 <%= import_controller_stylesheets %>
app/views/layouts/slideshow.rhtml
@@ -12,8 +12,7 @@ @@ -12,8 +12,7 @@
12 12
13 <%= stylesheet_import "slideshow" %> 13 <%= stylesheet_import "slideshow" %>
14 <%= javascript_include_tag 'jquery-latest', 'sliderjs', 'pikachoose' %> 14 <%= javascript_include_tag 'jquery-latest', 'sliderjs', 'pikachoose' %>
15 - <script language="javascript">  
16 - <!-- 15 + <script type="text/javascript">
17 $(document).ready(function (){ 16 $(document).ready(function (){
18 $("#slideshow").PikaChoose({ 17 $("#slideshow").PikaChoose({
19 buttons: { play: <%= _("Play").to_json %>, stop: <%= _("Stop").to_json %>, previous: <%= _("Previous").to_json %>, next: <%= _("Next").to_json %> } 18 buttons: { play: <%= _("Play").to_json %>, stop: <%= _("Stop").to_json %>, previous: <%= _("Previous").to_json %>, next: <%= _("Next").to_json %> }
@@ -23,10 +22,9 @@ @@ -23,10 +22,9 @@
23 window_height: 55, 22 window_height: 55,
24 list_width: 832, 23 list_width: 832,
25 pikachoose: true, 24 pikachoose: true,
26 - auto_play: false, 25 + auto_play: false
27 }); 26 });
28 }); 27 });
29 - -->  
30 </script> 28 </script>
31 </head> 29 </head>
32 <body> 30 <body>