changeset 248:3bcfbf971c40 cannam

* Fix some things broken during merge
author Chris Cannam
date Thu, 03 Mar 2011 12:23:19 +0000
parents 73ff0e6a11b1
children 0009fec5f11c
files app/helpers/projects_helper.rb config/locales/en.yml
diffstat 2 files changed, 9 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/app/helpers/projects_helper.rb	Thu Mar 03 12:11:53 2011 +0000
+++ b/app/helpers/projects_helper.rb	Thu Mar 03 12:23:19 2011 +0000
@@ -172,8 +172,6 @@
 
     original_project = @project
 
-    level = 0
-
     projects.each do |project|
       s << render_project_in_table(project, cycle('odd', 'even'), 0)
     end
@@ -181,9 +179,8 @@
     s << "</table>"
 
     @project = original_project
+
     s
-        level = 0
-        oddeven = cycle('odd','even')
   end
 
 
@@ -219,19 +216,11 @@
           end
           if mgrs.size < 3
             s << '<nobr>' << mgrs.join(', ') << '</nobr>'
-              mgrs << link_to_user(m)
-            end
-            if mgrs.size < 3
-              s << '<nobr>' << mgrs.join(', ') << '</nobr>'
           else
             s << mgrs.join(', ')
-            end
           end
         end
       end
-      s << "</tr>"
-
-      ancestors << project          
     end
 
     s << "</td>"
--- a/config/locales/en.yml	Thu Mar 03 12:11:53 2011 +0000
+++ b/config/locales/en.yml	Thu Mar 03 12:23:19 2011 +0000
@@ -205,7 +205,9 @@
   
   gui_validation_error: 1 error
   gui_validation_error_plural: "%{count} errors"
-  
+
+  field_ssamr_user_detail:
+    description: User Description  
     institution: Institution
 
   field_other_institution: ''
@@ -214,8 +216,8 @@
   field_description: Description
   field_summary: Summary
   field_is_required: Required
-  field_firstname: Firstname
-  field_lastname: Lastname
+  field_firstname: First name
+  field_lastname: Last name
   field_mail: Email
   field_filename: File
   field_filesize: Size
@@ -441,6 +443,7 @@
   label_tipoftheday: Tip of the day
   label_ssamr_details: Other Details
   label_ssamr_institution: Institution
+  label_ssamr_description: Research description
   label_user: User
   label_user_plural: Users
   label_user_new: New user
@@ -497,6 +500,7 @@
   label_login_with_open_id_option: or login with OpenID
   label_password_lost: Lost password
   label_home: Home
+  label_home_heading: Welcome!
   label_my_page: My page
   label_my_account: My account
   label_my_projects: My projects
@@ -884,6 +888,7 @@
   text_caracters_maximum: "%{count} characters maximum."
   text_caracters_minimum: "Must be at least %{count} characters long."
   text_length_between: "Length between %{min} and %{max} characters."
+  text_issue_parent_issue_info: 'If this is a subtask, please insert its parent task number or write the main task name.'
   text_user_ssamr_description_info: 'Please describe your current research or development interests, within the fields of audio and music.<br/>This information is publicly visible in your profile and you can edit it at any time.'
   text_tracker_no_workflow: No workflow defined for this tracker
   text_unallowed_characters: Unallowed characters