From 9ec7bdd6cbb25418563b3c96f0fb0087f5d11c7c Mon Sep 17 00:00:00 2001
From: Andreas Stephanides
Date: Thu, 22 Aug 2013 17:52:56 +0200
Subject: [PATCH 1/3] fotos - resized
---
app/views/galleries/show.html.erb | 2 +-
config/initializers/devise.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/views/galleries/show.html.erb b/app/views/galleries/show.html.erb
index 7b9e440..521f458 100644
--- a/app/views/galleries/show.html.erb
+++ b/app/views/galleries/show.html.erb
@@ -32,7 +32,7 @@
<% @gallery.fotos.each do |f| %>
-
+
<%=image_tag(f.datei.big_thumb.url,{:class=>"img-polaroid"}) %>
<% # image_tag(f.datei.url, :data => {:gallery => "gallery"}, :title => "Apple") %>
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index 765c261..5c4d4b8 100755
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -7,7 +7,7 @@ Devise.setup do |config|
config.mailer_sender = "test@example.com"
# Configure the class responsible to send e-mails.
- # config.mailer = "Devise::Mailer"
+ config.mailer = "Devise::Mailer"
config.mailer.default_url_options = { :host => 'glonass.htu.tuwien.ac.at' }
config.mailer.delivery_method = :sendmail
# config.mailer.smtp_settings = {
From cd3f3c2b89ae24a910254a34889bd202508c39a8 Mon Sep 17 00:00:00 2001
From: Thomas Blazek
Date: Thu, 22 Aug 2013 18:45:08 +0200
Subject: [PATCH 2/3] fix upload & gallery
---
app/views/fotos/_form_bulk.html.erb | 8 ++++----
app/views/galleries/show.html.erb | 10 +++++++++-
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/app/views/fotos/_form_bulk.html.erb b/app/views/fotos/_form_bulk.html.erb
index 283bfa3..a0f6332 100644
--- a/app/views/fotos/_form_bulk.html.erb
+++ b/app/views/fotos/_form_bulk.html.erb
@@ -28,7 +28,7 @@
@@ -56,7 +56,7 @@
+
+
+
From 12b453fdc8d93fd95f6eaf9d291e940407a056f4 Mon Sep 17 00:00:00 2001
From: Thomas Blazek
Date: Thu, 22 Aug 2013 19:00:39 +0200
Subject: [PATCH 3/3] gallery now default on fullscreen
---
app/views/galleries/show.html.erb | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/app/views/galleries/show.html.erb b/app/views/galleries/show.html.erb
index 8b38415..95849b0 100644
--- a/app/views/galleries/show.html.erb
+++ b/app/views/galleries/show.html.erb
@@ -16,7 +16,7 @@
<%= @gallery.datum %>
-