changeset 531:baf26f9eb1cf feature_36

Created the Publications Box that can be added to the "My Page"
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Sun, 25 Jul 2010 17:11:14 +0100
parents ce1614b19759
children 76d064830472
files vendor/plugins/redmine_bibliography/app/views/my/blocks/_publications_box.html.erb vendor/plugins/redmine_bibliography/config/locales/en.yml
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/plugins/redmine_bibliography/app/views/my/blocks/_publications_box.html.erb	Sun Jul 25 17:11:14 2010 +0100
@@ -0,0 +1,8 @@
+<h2><%= l('publications_box')%></h2>
+<% Publication.find(:all).each do |pub|%>
+<div class="wiki">
+  <h3><%= pub.title %>	</h3>
+</div>
+<% end %>
+
+
--- a/vendor/plugins/redmine_bibliography/config/locales/en.yml	Mon Jul 25 16:33:06 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/config/locales/en.yml	Sun Jul 25 17:11:14 2010 +0100
@@ -4,6 +4,7 @@
   authors: "Authors"
   author: "Author"
   name: "Name"
+  publications_box: "My Publications"
   
   label_add_me_as_author: "Add me as an author"
   label_add_another_author: "Add another author"