diff --git a/config/about.txt b/config/about.txt new file mode 100755 index 0000000..1d544fe --- /dev/null +++ b/config/about.txt @@ -0,0 +1,4 @@ +0.8.3 + +* export, imports of contact + diff --git a/config/todo.txt b/config/todo.txt new file mode 100755 index 0000000..5d99a19 --- /dev/null +++ b/config/todo.txt @@ -0,0 +1,16 @@ +app/controllers/folders_controller.rb: + * [ 30] [TODO] recreate local copy of folders + * [ 99] [TODO] save system folders + +app/controllers/messages_controller.rb: + * [101] [FIXME] missing fields and support arrays + +app/controllers/messages_ops_controller.rb: + * [128] [FIXME] check if uploads directory exists + * [176] [FIXME] check if domain is set + * [192] [TODO] check if email address is valid if not get address from contacts + * [259] [FIXME] edit does not support attachments + +app/models/prefs.rb: + * [ 19] [TODO] move refresh to prefs and make refresh page with messages + diff --git a/themes/olive/views/layouts/_flash.html.erb b/themes/olive/views/layouts/_flash.html.erb new file mode 100644 index 0000000..24c1562 --- /dev/null +++ b/themes/olive/views/layouts/_flash.html.erb @@ -0,0 +1,16 @@ +<% if not flash.size.zero? %> +
+<% flash.each do |key, msg| %> +<% unless msg.blank? %> +<% if msg.class.eql?(Hash) %> +<% f = content_tag :p, msg[:title] %> +<% f += content_tag :p, msg[:info], :class=> "info" %> +<% else %> +<% f = content_tag :p, msg %> +<% end %> +<%= content_tag(:div,f, :class => "message #{key.to_s}" )%> +<%= flash[key.to_sym]='' %> +<% end %> +<% end %> +
+<% end %>