Commit 75d2b5b053ca56669cf6a964e1346f30d6bdc9b2
1 parent
d31ddc20
Exists in
master
and in
29 other branches
asset-pipeline: remove old code
Showing
2 changed files
with
0 additions
and
68 deletions
Show diff stats
app/views/layouts/chat.html.erb
... | ... | @@ -1,64 +0,0 @@ |
1 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>"> | |
3 | - <head> | |
4 | - <title><%= h page_title %></title> | |
5 | - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
6 | - <meta name="description" content="<%= @environment.name %>" /> | |
7 | - <link rel="shortcut icon" href="<%= image_path(theme_favicon) %>" type="image/x-icon" /> | |
8 | - <%= noosfero_javascript %> | |
9 | - <%= javascript_include_tag 'jquery.scrollabletab', 'strophejs-1.0.1/strophe', 'jquery.emoticon', '../designs/icons/pidgin/emoticons.js', 'ba-linkify', 'jquery.ba-hashchange', 'jquery.sound', 'chat' %> | |
10 | - <%= noosfero_stylesheets %> | |
11 | - <%= stylesheet_link_tag *icon_theme_stylesheet_path %> | |
12 | - <%= stylesheet_link_tag theme_stylesheet_path %> | |
13 | - <%= stylesheet_link_tag jquery_ui_theme_stylesheet_path %> | |
14 | - <script type='text/javascript'> | |
15 | - var $presence_status_label = { | |
16 | - chat: '<%= _('Online') %>', | |
17 | - dnd: '<%= _('Busy') %>', | |
18 | - '': '<%= _('Offline') %>' | |
19 | - }; | |
20 | - var $own_name = '<%= user.name %>'; | |
21 | - var $starting_chat_notice = '<%= _("starting chat with %{name}") %>'; | |
22 | - var $muc_domain = '<%= "conference.#{environment.default_hostname}" %>'; | |
23 | - var $user_unavailable_error = '<%= _("<strong>ooops!</strong> The message could not be sent because the user is not online") %>'; | |
24 | - var $update_presence_status_every = <%= User.expires_chat_status_every.minutes %>; | |
25 | - var $balloon_template = '<div data-who="%{who}" class="message %{who}"><img class="avatar" src="%{avatar_url}"/><% comment_balloon do %><h5 class="%{who}-name">%{name}</h5><span class="time">%{time}</span><p>%{message}</p><% end %></div>'; | |
26 | - </script> | |
27 | - </head> | |
28 | - <body id='chat'> | |
29 | - <div id='title-bar'> | |
30 | - <h1 class='title'><%= _("%s - Friends online (<span id='friends-online'>%d</span>)") % [h(page_title), 0] %></h1> | |
31 | - </div> | |
32 | - <div id='buddy-list'> | |
33 | - <div id='environment-logo'> | |
34 | - <%= image_tag "#{theme_path}/images/thin-logo.png", :title => environment.name, :alt => environment.name %> | |
35 | - </div> | |
36 | - <div class='toolbar'> | |
37 | - <div id='user-status'><%= user_status_menu('icon-menu-offline', _('Offline')) %></div> | |
38 | - <div class='dialog-error' style='display: none'></div> | |
39 | - </div> | |
40 | - <ul class='buddy-list'> | |
41 | - <!-- <li class='offline'><a id='%{jid_id}' class='icon-menu-offline-11' href='#'>%{name}</a></li> --> | |
42 | - </ul> | |
43 | - </div> | |
44 | - <div id='chat-window' class='tabs-bottom'> | |
45 | - <div id='tabs'> | |
46 | - <ul> | |
47 | - <!-- <li class="tab"><a href="#{href}">#{label}</a></li> --> | |
48 | - </ul> | |
49 | - </div> | |
50 | - <!-- | |
51 | - <div id='#conversation-%{jid_id}' class='conversation'> | |
52 | - <div class='history'> | |
53 | - <div class='message %{who}'><img class='avatar' src='%{avatar_url}' /><h5 class='%{who}-info'>%{name}</h5><span class='time'>%{time}</span><p>%{message}</p></div> | |
54 | - </div> | |
55 | - <div class='input-div'> | |
56 | - <div class='icon-chat'></div> | |
57 | - <textarea type='textarea' data-to='%{jid}'></textarea> | |
58 | - </div> | |
59 | - </div> | |
60 | - --> | |
61 | - </div> | |
62 | - <%= yield %> | |
63 | - </body> | |
64 | -</html> |
config/environments/production.rb
... | ... | @@ -23,10 +23,6 @@ Noosfero::Application.configure do |
23 | 23 | File.basename file |
24 | 24 | end.compact |
25 | 25 | |
26 | - # fallback to assets pipeline if a precompiled asset is missed | |
27 | - config.assets.digest = true | |
28 | - config.assets.cache_store = :assets_live_compile_store | |
29 | - | |
30 | 26 | # Defaults to nil and saved in location specified by config.assets.prefix |
31 | 27 | # config.assets.manifest = YOUR_PATH |
32 | 28 | ... | ... |