summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 14:07:39 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 14:07:39 +0100
commit5282a24effdd94bdac07956138809a4304124639 (patch)
treedfd524e6beae01f9a82d97a8be0fcaa51c3c92d1 /app
parent8b2604a4483105c185269d3c38b98e7c51ee7cb2 (diff)
Moved screencasts into the image directory.
Diffstat (limited to 'app')
-rw-r--r--app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.gif (renamed from app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.gif)bin1672591 -> 1672591 bytes
-rw-r--r--app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mov (renamed from app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mov)bin1357712 -> 1357712 bytes
-rw-r--r--app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mp4 (renamed from app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mp4)bin2091614 -> 2091614 bytes
-rw-r--r--app/views/page/docu/_screencast_list.html.haml6
4 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.gif b/app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.gif
index 1422110..1422110 100644
--- a/app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.gif
+++ b/app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.gif
Binary files differ
diff --git a/app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mov b/app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mov
index 51366d1..51366d1 100644
--- a/app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mov
+++ b/app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mov
Binary files differ
diff --git a/app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mp4 b/app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mp4
index 1e39b97..1e39b97 100644
--- a/app/assets/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mp4
+++ b/app/assets/images/screencasts/de/firmen_sip_account_und_telefon_anlegen/firmen_sip_account_und_telefon_anlegen.mp4
Binary files differ
diff --git a/app/views/page/docu/_screencast_list.html.haml b/app/views/page/docu/_screencast_list.html.haml
index 23d4708..aa22c68 100644
--- a/app/views/page/docu/_screencast_list.html.haml
+++ b/app/views/page/docu/_screencast_list.html.haml
@@ -9,11 +9,11 @@
%tbody
- ['mp4', 'mov', 'gif'].each do |file_extension|
- filename = "screencasts/de/#{screencast_name}/#{screencast_name}.#{file_extension}"
- - if File.exists?("#{Rails.root}/app#{asset_path(filename)}")
+ - if File.exists?("#{Rails.root}/public/#{image_path(filename)}")
%tr
%td
- %a{:href => asset_path(filename)}
+ %a{:href => image_path(filename)}
%i{:class => 'icon-download'}
=file_extension.upcase
%td
- = number_to_human_size(File.size("#{Rails.root}/app#{asset_path(filename)}"), :precision => 3)
+ = number_to_human_size(File.size("#{Rails.root}/public/#{image_path(filename)}"), :precision => 3)