I18n fix

I18n fix

<% @title = 'News' %>

<%= @title %>

This page lists the latest changes to and news about the Mushroom Observer website.

Monday November 5, 2007

Patched bug with internationalization that was causing the string __localization_missing__ to appear unexpectedly.  I don't fully understand why it does this, but I've addressed the symptom. (Nathan Wilson)

More improvements to auto-completion. (Jason Hollinger)

Friday October 19, 2007

Improvements to auto-completion.  Contributed by Jason Hollinger.

Fixed a couple of minor bugs that users stumbled on.

Sunday October 14, 2007

Comments now visible directly on the Show Observation page.  In addition the Add Comment and Edit
        Comment pages now list all the information for the observation to make it easier to cut and
        paste while working on a comment.  Contributed by Jason Hollinger.

Deprecating or approving a name now asks for a comment.  Contributed by Jason Hollinger.

Better auto-completion enabled for Create Observation and Edit Observation.  Contributed by Jason Hollinger.

Saturday October 13, 2007

Added internationalization support including some translations into pt-BR (Brazilian Portuguese).

Tuesday October 9, 2007

An email is now automatically sent to the owner of the observation anytime a comment is made.  This feature can be turned off on your preferences page. Contributed by Jason Hollinger.

The email messages are now optionally HTMLized.  Contributed by Jason Hollinger.

Friday October 5, 2007

Fixed a bug where genera were mistakenly getting deprecated when species they contain were deprecated.

Monday September 17, 2007

Did a whole bunch of cleanup using the W3C validator to ensure that
        as much of the site as possible is valid XHTML 1.0.  In the process found many little formatting problems.  In
        general the layout should be unchanged.  However, with browsers other than Firefox there may be significant
        changes, but those should be more consistent with the layout in Firefox.  Please let me know if you see any
        significant layout problems.

For anyone who cares, the Show Image and Show Original pages are not completely valid due to the use of the
        proposed RDFa standard used to describe the Creative Commons licensing terms.  This standard is expected to be
        ratified in the near future.

Sunday September 2, 2007

Contributors now have options for the license they contribute their images under.  The license that has
        been used so far (Creative Commons Attribution,
        Non-Commercial, Share Alike License v2.5, or by-nc-sa v2.5 for short) only permits non-commercial
        uses.  This license is not enough to allow their use on Wikipedia
        which requires the option for all contributed material
        to be used commercially.  Support has been added for a license Wikipedia does accept,
        the Creative Commons Attribution, Share Alike
        License v3.0 license (by-sa v3.0).  While I was working on this problem I also deprecated the use of
        by-nc-sa v2.5 in favor of the 3.0 version.

This means when you add a new image you can choose between the Wikipedia compatible license and the
        non-commercial 3.0 license.  The initial default for all users when adding new images is the Wikipedia
        compatible, by-sa v3.0 license.  You can change this default on your <%= link_to('Preferences',
        :controller => 'account', :action => 'prefs') %> page.

You can change the license for any existing image by going to that
        image and selecting 'Edit Image'.  You will see a new drop down menu listing the license options.
        If the image is currently under the by-nc-sa v2.5, then that option will still be in the list and will
        be the default.  Finally for power users, there is a new page available off the Preferences page, the
        <%= link_to('Bulk License Updater', :action => 'license_updater') %>, which groups your images based
        on license and copyright holder and allows you to update each group in one go.

Image search now includes the copyright holder field in the search.

Updated the <%= link_to('Introduction', :controller => 'observer', :action => 'intro') %> and
    <%= link_to('How to Use', :controller => 'observer', :action => 'how_to_use') %> pages to reflect many
    of the recent changes.

Saturday September 1, 2007

Fixed bugs in handling version numbers and user assignment for some name changing functions.

Monday August 20, 2007

Fixed bugs in adding author and creating new species indirectly by creating or editing observations.

Sunday August 12, 2007

Re-enabled Bulk Name Edit after substantially revising past name generation and compensating for lost history.

Friday August 3, 2007

Added citations to Names.

Search improvements:

        Box is larger.

        Search value stays in all cases.

        Switched from just matching the beginning of the name string (unless there's a %), to searching anywhere in multple fields.

        Removed Location search since that's included in the Observation search now.

Updated the past name page to explicitly show previous statuses and citations.

Thursday August 2, 2007

Added Approve or Deprecate links to Show Name pages based on whether the name is deprecated or not.

Removed 'Deprecated' checkbox from the Edit Name page.

Fixed a bug in Edit Observation where providing a totally new name lost any other changes or edits made on the page.

Fixed some of the handling of 'Unknown'.

Fixed a bug in recording if a Name used to be deprecated.

Friday July 20, 2007

Allowed system to assume that a non-deprecated name is preferred over a deprecated name if there is ambiguity.

Fixed bug in saving author changes when the name can't be changed that was introduced in the July 6 update.

Friday July 6, 2007

Reorganized the links on the observation, image and name pages to hopefully be more intuitive.

Limited the ability to change the name and author of name to avoid changes to other people's observations without
        their approval.

Fixed a few minor bugs.

Sunday July 1, 2007

Updated the checklist code to give long lists after a visit to either the Observation Index or Name Index pages.

Cleaned up the naming of Observation Index and Name Index.  All Names is still maintained, but is now the same as the Name Index.

Saturday June 30, 2007

Valid names are now in bold.  Deprecated names are not.

Thursday June 28, 2007

Moved to new hosting service.

Sunday June 24, 2007

If there are two names that have exactly the same name and author and at least one of them has no notes, then they will get automatically merged if one of them is edited.

Added a facility for testing the performance of image uploading.

Fixed an omission in the error reporting code that caused alert emails to not get sent.

Monday June 18, 2007

Names can now be marked as deprecated.  The setting can be changed using the Edit Name page.

Synonyms support added.  Synonyms are used to verify names of observations and in species lists.

Synonyms can be changed for one name by selecting 'Change Synonyms' from any Show Name page.

Larger sets of names and synonyms can be added from the Bulk Name Edit page available from any Show
        Name page, the Name Index page or the All Names page.

The Name Index page only lists names that have observations.

The All Names page lists all names in the database and can be accessed from the Name Index page.

Fixed bug with Creating Observations immediately after creating a new account.

Monday May 21, 2007

One year anniversary!

Added Site Stats, Contributors, Show User, User Observations and Comments for User pages.

Sunday May 13, 2007

Fixed a variety of minor issues.

Added 'sanitize' calls to avoid cross-site scripting vulnerabilities.

Thursday May 10, 2007

Fixed bug in creating new names when creating a species list.

Sunday April 29, 2007

Substantially improved error handling.

Fixed problem with Google Web Accelerator.

Sunday April 22, 2007

Reorganized and simplified observation editing and creation.

Completed unit testing for existing pages.

Friday February 23, 2007

Adjusted the size of some of the notes widgets to fill more of the screen.

Monday February 19, 2007

Added note snippet and comment count to Show Image page for easier review.

Adjusted options available for the number of rows in list displays.

Fixed database migration scripts.

Internal data simplification (removed observations.what field).

Tuesday February 13, 2007

Added multiple upload option for Add Images.

Changed some of the links in the left hand panel based on user feedback.

Saturday February 10, 2007

Added image and location search within the site.

Thursday February 8, 2007

Added Google image search links to Observation and Name pages.

Wednesday February 7, 2007

Added checklists.  Items in the checklist are the results of the
            latest search or viewed species list.  Viewing large lists like
            'Latest Changes' or 'Name Index' will reset the checklist to all
            names.

Moved loading species lists from files to a separate page off of
            Edit Species List to avoid an interaction between the checklist
            and file loading.

Saturday January 27, 2007

Name edits now appear in the RSS feed.

Sunday January 21, 2007

Added How To Use page.

Changed 'New' links to 'Create'.

Fixed a bug with the search box.

Fixed a couple of bugs with the next/prev links.

Thursday January 11, 2007

Fixed a bug with creating new species.

Fixed many bugs with page titles, some of which were preventing pages from loading.

Tuesday January 9, 2007

Names are now database objects rather than just strings.  They have a
    rank, a text name an author and notes.

A show_name page shows this information as well as a list of all
    observations that use that Name.  The show_pages can be accessed from
    each show_observation page as well as the name_index page that is
    available in the left-side panel.

Names can be edited on the edit_name pages that are accessible from
    the show_name pages.  Anyone is allowed to edit any name, but
    following the Wikipedia model,
    a record is kept of every version.  The previous versions are stored as
    'past names'.  A show_past_name page shows the name information for a
    previous version of a name and is accessible from each show_name page.

Names are associated with observations through the 'what' field of the
    observation.  When the 'what' field is changed, the names are searched
    for a match.  The 'what' field can either be the text_name or the
    text_name and the author for a name.  No match is found for a 'what'
    value, then the user is given the option to create the new name.  If a
    'what' value matches more than one name (due to different authors
    publishing the same name), then the user is given a choice between the
    options.  The options list how many observations use each version of
    the name.  If you add an author to a 'what' field for a name that does
    not have an author already, it will ask you if you want to create the
    new name, but it will actually update the existing name.

Names given in species lists are treated in the exact same manner,
    except that all the new names and all of the multiple matches are
    dealt with on the same page.  There is also an option on the
    new_species_list and edit_species_list pages to 'Just Create New
    Names'.  This adds the names without updating the species list or
    creating the corresponding observations.

The search box is now available on every page.

Removed the Observation Index in favor of the Name Index.

Fixed some of the list ordering to make it more intuitive.

A filter was added to the account creation process that should reduce the
    number of bot created users.

Fixed a bug with bouncing between observations and images and using the
    next/prev links.

Monday December 18, 2006

Added prev/next links that follow the RSS feed.

Improved prev/next functionality throughout the site.

RSS feed descriptions now have appropriate line breaks.

Monday December 4, 2006

Species lists can now be uploaded from files.

Separated note for species list from note that applies to member observations.

Fixed use of multiple tabs by switching from session data to hidden fields.

mushroomobserver.org/# == mushroomobserver.org/observer/show_observation/#

Monday October 26, 2006

Switched Observations->By Name to include thumbnails and follow layout.

Maintained old By Name behavior as Observations->Index.

Added simple search box to Activity Log (Latest Changes) and Observation list pages.

Monday October 23, 2006

Changed default page to the RSS feed.

Changed page layout for observation and image list pages.

Added layout controls to user preferences.  Set to 10 rows x 1 column
		and turn off 'Put text below images' to get old layout.

Changed thumbnail image size from 100px to 160px with lower quality (jpeg 50 vs. 75).

Provided Prev/Next buttons for images.

Added link to ask the webmaster a question about the site.

Split up 'Manage Images' into 'Add Image', 'Reuse Image' and 'Remove Images' and made
		them more visible.

'Reuse Image' allows you to look at the images.

Added links for viewing the log for observations and species lists.

Made database lookup for all observations much more efficient.

Rearranged left-hand panel.

Images no longer have titles.  They are derived from the observation(s) they are
		connected to.

Removed Edit and Destroy links from view pages.

Add mini-icon for webpages.

Sunday September 9, 2006

Links to email the creator of observations or images with questions or commerical inquiries.  The creator receives an email with the address of the user who wants to contact them.  It is up to the creator whether they want to respond.

User preferences added to disable the above email feature and to stop receiving emails like this letting you know about new features.

RSS feed has been overhauled to reduce the number of entries and make them more relevant.

Copyright holder now has an option to be something other than a registered user.  The user who uploads the image is the default, but it can now be changed on a per image basis.

Monday August 21, 2006

Added RSS feed for all interesting events that happen on the site.

Added 'Create Account' link on login page to make it more obvious.

Tweaked page titles to make the site easier to index.

Sunday August 13, 2006

Added this news page.

List pages now have a better interface for paging than just next/previous,
and its at the top and bottom of each page.

Saturday August 12, 2006

Added email verification system to user signup.

<% @title = 'News' %>

<%= @title %>

This page lists the latest changes to and news about the Mushroom Observer website.

Friday October 19, 2007

Improvements to auto-completion.  Contributed by Jason Hollinger.

Fixed a couple of minor bugs that users stumbled on.

Sunday October 14, 2007

Comments now visible directly on the Show Observation page.  In addition the Add Comment and Edit
        Comment pages now list all the information for the observation to make it easier to cut and
        paste while working on a comment.  Contributed by Jason Hollinger.

Deprecating or approving a name now asks for a comment.  Contributed by Jason Hollinger.

Better auto-completion enabled for Create Observation and Edit Observation.  Contributed by Jason Hollinger.

Saturday October 13, 2007

Added internationalization support including some translations into pt-BR (Brazilian Portuguese).

Tuesday October 9, 2007

An email is now automatically sent to the owner of the observation anytime a comment is made.  This feature can be turned off on your preferences page. Contributed by Jason Hollinger.

The email messages are now optionally HTMLized.  Contributed by Jason Hollinger.

Friday October 5, 2007

Fixed a bug where genera were mistakenly getting deprecated when species they contain were deprecated.

Monday September 17, 2007

Did a whole bunch of cleanup using the W3C validator to ensure that
        as much of the site as possible is valid XHTML 1.0.  In the process found many little formatting problems.  In
        general the layout should be unchanged.  However, with browsers other than Firefox there may be significant
        changes, but those should be more consistent with the layout in Firefox.  Please let me know if you see any
        significant layout problems.

For anyone who cares, the Show Image and Show Original pages are not completely valid due to the use of the
        proposed RDFa standard used to describe the Creative Commons licensing terms.  This standard is expected to be
        ratified in the near future.

Sunday September 2, 2007

Contributors now have options for the license they contribute their images under.  The license that has
        been used so far (Creative Commons Attribution,
        Non-Commercial, Share Alike License v2.5, or by-nc-sa v2.5 for short) only permits non-commercial
        uses.  This license is not enough to allow their use on Wikipedia
        which requires the option for all contributed material
        to be used commercially.  Support has been added for a license Wikipedia does accept,
        the Creative Commons Attribution, Share Alike
        License v3.0 license (by-sa v3.0).  While I was working on this problem I also deprecated the use of
        by-nc-sa v2.5 in favor of the 3.0 version.

This means when you add a new image you can choose between the Wikipedia compatible license and the
        non-commercial 3.0 license.  The initial default for all users when adding new images is the Wikipedia
        compatible, by-sa v3.0 license.  You can change this default on your <%= link_to('Preferences',
        :controller => 'account', :action => 'prefs') %> page.

You can change the license for any existing image by going to that
        image and selecting 'Edit Image'.  You will see a new drop down menu listing the license options.
        If the image is currently under the by-nc-sa v2.5, then that option will still be in the list and will
        be the default.  Finally for power users, there is a new page available off the Preferences page, the
        <%= link_to('Bulk License Updater', :action => 'license_updater') %>, which groups your images based
        on license and copyright holder and allows you to update each group in one go.

Image search now includes the copyright holder field in the search.

Updated the <%= link_to('Introduction', :controller => 'observer', :action => 'intro') %> and
    <%= link_to('How to Use', :controller => 'observer', :action => 'how_to_use') %> pages to reflect many
    of the recent changes.

Saturday September 1, 2007

Fixed bugs in handling version numbers and user assignment for some name changing functions.

Monday August 20, 2007

Fixed bugs in adding author and creating new species indirectly by creating or editing observations.

Sunday August 12, 2007

Re-enabled Bulk Name Edit after substantially revising past name generation and compensating for lost history.

Friday August 3, 2007

Added citations to Names.

Search improvements:

        Box is larger.

        Search value stays in all cases.

        Switched from just matching the beginning of the name string (unless there's a %), to searching anywhere in multple fields.

        Removed Location search since that's included in the Observation search now.

Updated the past name page to explicitly show previous statuses and citations.

Thursday August 2, 2007

Added Approve or Deprecate links to Show Name pages based on whether the name is deprecated or not.

Removed 'Deprecated' checkbox from the Edit Name page.

Fixed a bug in Edit Observation where providing a totally new name lost any other changes or edits made on the page.

Fixed some of the handling of 'Unknown'.

Fixed a bug in recording if a Name used to be deprecated.

Friday July 20, 2007

Allowed system to assume that a non-deprecated name is preferred over a deprecated name if there is ambiguity.

Fixed bug in saving author changes when the name can't be changed that was introduced in the July 6 update.

Friday July 6, 2007

Reorganized the links on the observation, image and name pages to hopefully be more intuitive.

Limited the ability to change the name and author of name to avoid changes to other people's observations without
        their approval.

Fixed a few minor bugs.

Sunday July 1, 2007

Updated the checklist code to give long lists after a visit to either the Observation Index or Name Index pages.

Cleaned up the naming of Observation Index and Name Index.  All Names is still maintained, but is now the same as the Name Index.

Saturday June 30, 2007

Valid names are now in bold.  Deprecated names are not.

Thursday June 28, 2007

Moved to new hosting service.

Sunday June 24, 2007

If there are two names that have exactly the same name and author and at least one of them has no notes, then they will get automatically merged if one of them is edited.

Added a facility for testing the performance of image uploading.

Fixed an omission in the error reporting code that caused alert emails to not get sent.

Monday June 18, 2007

Names can now be marked as deprecated.  The setting can be changed using the Edit Name page.

Synonyms support added.  Synonyms are used to verify names of observations and in species lists.

Synonyms can be changed for one name by selecting 'Change Synonyms' from any Show Name page.

Larger sets of names and synonyms can be added from the Bulk Name Edit page available from any Show
        Name page, the Name Index page or the All Names page.

The Name Index page only lists names that have observations.

The All Names page lists all names in the database and can be accessed from the Name Index page.

Fixed bug with Creating Observations immediately after creating a new account.

Monday May 21, 2007

One year anniversary!

Added Site Stats, Contributors, Show User, User Observations and Comments for User pages.

Sunday May 13, 2007

Fixed a variety of minor issues.

Added 'sanitize' calls to avoid cross-site scripting vulnerabilities.

Thursday May 10, 2007

Fixed bug in creating new names when creating a species list.

Sunday April 29, 2007

Substantially improved error handling.

Fixed problem with Google Web Accelerator.

Sunday April 22, 2007

Reorganized and simplified observation editing and creation.

Completed unit testing for existing pages.

Friday February 23, 2007

Adjusted the size of some of the notes widgets to fill more of the screen.

Monday February 19, 2007

Added note snippet and comment count to Show Image page for easier review.

Adjusted options available for the number of rows in list displays.

Fixed database migration scripts.

Internal data simplification (removed observations.what field).

Tuesday February 13, 2007

Added multiple upload option for Add Images.

Changed some of the links in the left hand panel based on user feedback.

Saturday February 10, 2007

Added image and location search within the site.

Thursday February 8, 2007

Added Google image search links to Observation and Name pages.

Wednesday February 7, 2007

Added checklists.  Items in the checklist are the results of the
            latest search or viewed species list.  Viewing large lists like
            'Latest Changes' or 'Name Index' will reset the checklist to all
            names.

Moved loading species lists from files to a separate page off of
            Edit Species List to avoid an interaction between the checklist
            and file loading.

Saturday January 27, 2007

Name edits now appear in the RSS feed.

Sunday January 21, 2007

Added How To Use page.

Changed 'New' links to 'Create'.

Fixed a bug with the search box.

Fixed a couple of bugs with the next/prev links.

Thursday January 11, 2007

Fixed a bug with creating new species.

Fixed many bugs with page titles, some of which were preventing pages from loading.

Tuesday January 9, 2007

Names are now database objects rather than just strings.  They have a
    rank, a text name an author and notes.

A show_name page shows this information as well as a list of all
    observations that use that Name.  The show_pages can be accessed from
    each show_observation page as well as the name_index page that is
    available in the left-side panel.

Names can be edited on the edit_name pages that are accessible from
    the show_name pages.  Anyone is allowed to edit any name, but
    following the Wikipedia model,
    a record is kept of every version.  The previous versions are stored as
    'past names'.  A show_past_name page shows the name information for a
    previous version of a name and is accessible from each show_name page.

Names are associated with observations through the 'what' field of the
    observation.  When the 'what' field is changed, the names are searched
    for a match.  The 'what' field can either be the text_name or the
    text_name and the author for a name.  No match is found for a 'what'
    value, then the user is given the option to create the new name.  If a
    'what' value matches more than one name (due to different authors
    publishing the same name), then the user is given a choice between the
    options.  The options list how many observations use each version of
    the name.  If you add an author to a 'what' field for a name that does
    not have an author already, it will ask you if you want to create the
    new name, but it will actually update the existing name.

Names given in species lists are treated in the exact same manner,
    except that all the new names and all of the multiple matches are
    dealt with on the same page.  There is also an option on the
    new_species_list and edit_species_list pages to 'Just Create New
    Names'.  This adds the names without updating the species list or
    creating the corresponding observations.

The search box is now available on every page.

Removed the Observation Index in favor of the Name Index.

Fixed some of the list ordering to make it more intuitive.

A filter was added to the account creation process that should reduce the
    number of bot created users.

Fixed a bug with bouncing between observations and images and using the
    next/prev links.

Monday December 18, 2006

Added prev/next links that follow the RSS feed.

Improved prev/next functionality throughout the site.

RSS feed descriptions now have appropriate line breaks.

Monday December 4, 2006

Species lists can now be uploaded from files.

Separated note for species list from note that applies to member observations.

Fixed use of multiple tabs by switching from session data to hidden fields.

mushroomobserver.org/# == mushroomobserver.org/observer/show_observation/#

Monday October 26, 2006

Switched Observations->By Name to include thumbnails and follow layout.

Maintained old By Name behavior as Observations->Index.

Added simple search box to Activity Log (Latest Changes) and Observation list pages.

Monday October 23, 2006

Changed default page to the RSS feed.

Changed page layout for observation and image list pages.

Added layout controls to user preferences.  Set to 10 rows x 1 column
		and turn off 'Put text below images' to get old layout.

Changed thumbnail image size from 100px to 160px with lower quality (jpeg 50 vs. 75).

Provided Prev/Next buttons for images.

Added link to ask the webmaster a question about the site.

Split up 'Manage Images' into 'Add Image', 'Reuse Image' and 'Remove Images' and made
		them more visible.

'Reuse Image' allows you to look at the images.

Added links for viewing the log for observations and species lists.

Made database lookup for all observations much more efficient.

Rearranged left-hand panel.

Images no longer have titles.  They are derived from the observation(s) they are
		connected to.

Removed Edit and Destroy links from view pages.

Add mini-icon for webpages.

Sunday September 9, 2006

Links to email the creator of observations or images with questions or commerical inquiries.  The creator receives an email with the address of the user who wants to contact them.  It is up to the creator whether they want to respond.

User preferences added to disable the above email feature and to stop receiving emails like this letting you know about new features.

RSS feed has been overhauled to reduce the number of entries and make them more relevant.

Copyright holder now has an option to be something other than a registered user.  The user who uploads the image is the default, but it can now be changed on a per image basis.

Monday August 21, 2006

Added RSS feed for all interesting events that happen on the site.

Added 'Create Account' link on login page to make it more obvious.

Tweaked page titles to make the site easier to index.

Sunday August 13, 2006

Added this news page.

List pages now have a better interface for paging than just next/previous,
and its at the top and bottom of each page.

Saturday August 12, 2006

Added email verification system to user signup.


ajustado la vista de people para que no de fallos...

git-svn-id: 268669d3058f191005ae665964cd19b71efa10c4@15639 3f47a204-8049-4147-aab0-d444c64e7564

<%if @space && @space.id != 1 %>
<%= render :partial =>'show_space_users'%>
<%elsif @space.id == 1 && !current_user.superuser== true%>
<%= render :partial =>'show_public_users'%>
<%else%>

	<% rounded(:class => "tips") do %>
<% @page_title = "User List" -%>

 Name
 Lastname
 <%= 'Login'.t %>
 Super

 Email

 Reset Password

<%
@odd_or_even_user = 0
for user in @users
    @odd_or_even_user = 1 - @odd_or_even_user
-%>

<td class=" first1 ListUser<%= @odd_or_even_user %>"><%= link_to name_format(user.profile.name,15,""), edit_space_user_path(@space,user) if user.profile%>
<td class="ListUser<%= @odd_or_even_user %>"><%= link_to name_format(user.profile.lastname,18,""), edit_space_user_path(@space,user) if user.profile%>
<td class="ListUser<%= @odd_or_even_user %>"><%= link_to name_format(user.login,18,""), edit_space_user_path(@space,user) %>
<td class="ListUser<%= @odd_or_even_user %>"><%=replace_image(user.superuser)  %>

<td class="ListUser<%= @odd_or_even_user %>"><%= mail_to(user.email,name_format(user.email,25,"")) %>

<td class="ListUser<%= @odd_or_even_user %>"><%= link_to image_tag("/images/key2.png",:border=>0), forgot_path(:email => sanitize(user.email)), :title => "Reset Password", :confirm => "This action will send an email to the user \""+ h(user.login) +"\" in order to reset his password.\n Are you sure?" %>
<%= link_to image_tag("/images/edit22.png",:border=>0), edit_space_user_path(@space,user), :title=>"Edit User" %>
<%= link_to image_tag("/images/delete22.png",:border=>0), user_path(user), :method => :delete, :confirm => "This action will delete the user \""+ h(user.login) +"\".\n Are you sure?", :title=>"Delete User" %>

<% end -%>

<%end%>

<%= render :partial =>'shared/sidebar_users'%>

<%end%>

<%if @space && @space.id != 1 %>
<%= render :partial =>'show_space_users'%>
<%elsif @space.id == 1 && !current_user.superuser== true%>
<%= render :partial =>'show_public_users'%>
<%else%>

	<% rounded(:class => "tips") do %>
<% @page_title = "User List" -%>

 Name
 Lastname
 <%= 'Login'.t %>
 Super
 Disabled
 Email

 Reset Password

<%
@odd_or_even_user = 0
for user in @users
    @odd_or_even_user = 1 - @odd_or_even_user
-%>

<td class=" first1 ListUser<%= @odd_or_even_user %>"><%= link_to name_format(user.profile.name,10,""), edit_space_user_path(@space,user) if user.profile%>
<td class="ListUser<%= @odd_or_even_user %>"><%= link_to name_format(user.profile.lastname,15,""), edit_space_user_path(@space,user) if user.profile%>
<td class="ListUser<%= @odd_or_even_user %>"><%= link_to name_format(user.login,15,""), edit_space_user_path(@space,user) %>
<td class="ListUser<%= @odd_or_even_user %>"><%=replace_image(user.superuser)  %>
<td class="ListUser<%= @odd_or_even_user %>"><%= replace_image(user.disabled) %>
<td class="ListUser<%= @odd_or_even_user %>"><%= mail_to(user.email,name_format(user.email,20,"")) %>

<td class="ListUser<%= @odd_or_even_user %>"><%= link_to image_tag("/images/key2.png",:border=>0), forgot_path(:email => sanitize(user.email)), :title => "Reset Password", :confirm => "This action will send an email to the user \""+ h(user.login) +"\" in order to reset his password.\n Are you sure?" %>
<%= link_to image_tag("/images/edit22.png",:border=>0), edit_space_user_path(@space,user), :title=>"Edit User" %>
<%= link_to image_tag("/images/delete22.png",:border=>0), user_path(user), :method => :delete, :confirm => "This action will delete the user \""+ h(user.login) +"\".\n Are you sure?", :title=>"Delete User" %>

<% end -%>

<%end%>

<%= render :partial =>'shared/sidebar_users'%>

<%end%>


Update lib/views/help/credits.rhtml

Update lib/views/help/credits.rhtml

Added link to UKCOD team list. This is a (further) change to help address issue https://github.com/mysociety/whatdotheyknow-theme/issues/30

<% @title = "Credit where credit is due" %>

<%= render :partial => 'sidebar' %>

<%= @title%> #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg (UKCOD developers) could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    The amazing team of volunteers who run the site, answer your support
    emails, maintain the database of public authorities and
    so much more.
    Thanks to Helen Cross, John Cross, Ben Harris, Adam McGreggor, Ganesh Sittampalam, Alex Skene,
    Richard Taylor.

    Volunteers who have provided patches to the code – thanks Peter Collingbourne,
    Tony Bowden, David Cabo, James McKinney.

    Everyone who has helped look up FOI email addresses.

    We couldn't do any of this without those
    crazy people who volunteer,
    amongst many other things, to do the accounts and fill in our VAT return.

    Finally, all the officers and servants who have answered the many requests
    made through the site. Their diligence, patience and professionalism is
    what has actually made the information that you see here. Thank them for
    helping make Government more transparent.

You're all stars.

Can I help out? #

Yes please! We're built out of our supporters and volunteers.

You can make a donation. We're a registered charity.

Help people find successful requests, and monitor performance of authorities, by
    playing the categorisation game.

Find out FOI email addresses of authorities that we're missing.

Write a blog post about either WhatDoTheyKnow or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the source code for our parent project, Alaveteli
    and tell us about patches we can pull. It's made in Ruby on Rails.

Read more about volunteering with mySociety.

<% @title = "Credit where credit is due" %>

<%= render :partial => 'sidebar' %>

<%= @title%> #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    The amazing team of volunteers who run the site, answer your support
    emails, maintain the database of public authorities and
    so much more.
    Thanks to Helen Cross, John Cross, Ben Harris, Adam McGreggor, Ganesh Sittampalam, Alex Skene,
    Richard Taylor.

    Volunteers who have provided patches to the code – thanks Peter Collingbourne,
    Tony Bowden, David Cabo, James McKinney.

    Everyone who has helped look up FOI email addresses.

    We couldn't do any of this without those
    crazy people who volunteer,
    amongst many other things, to do the accounts and fill in our VAT return.

    Finally, all the officers and servants who have answered the many requests
    made through the site. Their diligence, patience and professionalism is
    what has actually made the information that you see here. Thank them for
    helping make Government more transparent.

You're all stars.

Can I help out? #

Yes please! We're built out of our supporters and volunteers.

You can make a donation. We're a registered charity.

Help people find successful requests, and monitor performance of authorities, by
    playing the categorisation game.

Find out FOI email addresses of authorities that we're missing.

Write a blog post about either WhatDoTheyKnow or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the source code for our parent project, Alaveteli
    and tell us about patches we can pull. It's made in Ruby on Rails.

Read more about volunteering with mySociety.


Reverse order of blog posts

Reverse order of blog posts

<% view_cache :ttl => 5.minutes.to_i, :tag => I18n.locale do %>

<%= _("Ejerce tu derecho a saber.") %>

1

2

3

<%= _("Para obtener información de instituciones públicas:") %>

<%= _("Piensa una pregunta para un organismo público.") %>

<%= _("Nosotros enviamos la pregunta por ti.") %>

<%= _("Te avisamos cuando haya una respuesta.") %>

            <%= link_to _("Preguntar »"), body_index_path %>

            <%= link_to _("¿Contestarán? »"), help_requesting_path(:anchor => 'making_requests') %>

<%= _("Cuenta atrás por la transparencia en España") %>

<%= _("Quedan  días para que el PP cumpla su promesa de presentar una ley de acceso a la información") %>

Twittear

<%= _("Haz una búsqueda entre las peticiones ya realizadas:") %>

              <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

                <%= text_field_tag 'query', params[:query], { :size => 80 } %>
                <%= submit_tag _('Search') %>

              <% end %>

<%= _("Novedades") %>

                <%
                  position = 1;
                  for item in @blog_items[0..3].reverse:
                    position = position + 1; %>
                  <div class="frontpage-blog-post <%= position.even? ? 'right' : 'left' %>">

                      <a href='<%= "#{blog_url}\##{Time.parse(item['pubDate'][0]).to_i}" %>'><%= h item['title'] %>

<%= h excerpt(item['description'].to_s, "", 200) %>

<%= _("Leer más »") %>

                <% end %>

<a href="<%= blog_url %>"><%= _("Más novedades »") %>

<%= _("Peticiones destacadas") %>

                <% @featured_requests.each do |featured_request| %>
                <%= render :partial => 'track/tracking_request_links',
                      :locals => {
                        :track_thing => TrackThing.create_track_for_request(featured_request),
                        :own_request => featured_request.user == @user,
                        :location => "frontpage"
                      } %>
                <% end %>

<% end %>

<% view_cache :ttl => 5.minutes.to_i, :tag => I18n.locale do %>

<%= _("Ejerce tu derecho a saber.") %>

1

2

3

<%= _("Para obtener información de instituciones públicas:") %>

<%= _("Piensa una pregunta para un organismo público.") %>

<%= _("Nosotros enviamos la pregunta por ti.") %>

<%= _("Te avisamos cuando haya una respuesta.") %>

            <%= link_to _("Preguntar »"), body_index_path %>

            <%= link_to _("¿Contestarán? »"), help_requesting_path(:anchor => 'making_requests') %>

<%= _("Cuenta atrás por la transparencia en España") %>

<%= _("Quedan  días para que el PP cumpla su promesa de presentar una ley de acceso a la información") %>

Twittear

<%= _("Haz una búsqueda entre las peticiones ya realizadas:") %>

              <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

                <%= text_field_tag 'query', params[:query], { :size => 80 } %>
                <%= submit_tag _('Search') %>

              <% end %>

<%= _("Novedades") %>

                <%
                  position = 1;
                  for item in @blog_items[0..3]:
                    position = position + 1; %>
                  <div class="frontpage-blog-post <%= position.even? ? 'right' : 'left' %>">

                      <a href='<%= "#{blog_url}\##{Time.parse(item['pubDate'][0]).to_i}" %>'><%= h item['title'] %>

<%= h excerpt(item['description'].to_s, "", 200) %>

<%= _("Leer más »") %>

                <% end %>

<a href="<%= blog_url %>"><%= _("Más novedades »") %>

<%= _("Peticiones destacadas") %>

                <% @featured_requests.each do |featured_request| %>
                <%= render :partial => 'track/tracking_request_links',
                      :locals => {
                        :track_thing => TrackThing.create_track_for_request(featured_request),
                        :own_request => featured_request.user == @user,
                        :location => "frontpage"
                      } %>
                <% end %>

<% end %>


Oops, how did that checkbox get in there?

git-svn-id: b2ff2946fad280430023ee7ead77858f96a610fa@170 561dde7e-7729-0410-be8e-ef83869d6c7d

<% record = list_record if list_record # compat with render :partial :collection -%>
<% classAttr = cycle("", "class=\"even\"") -%>
<% url_options = params_for(:action => :list, :id => record.id) -%>

<tr <%= classAttr %> id="<%= element_row_id(:action => :list, :id => record.id) %>">
  <% active_scaffold_config.list.columns.each do |column| %>
    <% column_value = render_column(record, column) -%>

    <td class="<%= column_class(column, column_value) %>" >
      <% if column.link -%>
        <% column.link.label = column_value %>
        <%= render_action_link(column.link, url_options) %>
      <% else -%>
        <%= column_value %>
      <% end -%>

  <% end -%>
  <% if active_scaffold_config.action_links.any? {|link| link.type == :record } -%>

    <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options} %>

  <% end -%>

<% target_id = element_row_id(:action => :list, :id => record.id) -%>

<% record = list_record if list_record # compat with render :partial :collection -%>
<% classAttr = cycle("", "class=\"even\"") -%>
<% url_options = params_for(:action => :list, :id => record.id) -%>

<tr <%= classAttr %> id="<%= element_row_id(:action => :list, :id => record.id) %>">
  <% active_scaffold_config.list.columns.each do |column| %>
    <% column_value = render_column(record, column) -%>

    <td class="<%= column_class(column, column_value) %>" >
      <% if column.link -%>
        <% column.link.label = column_value %>
        <%= render_action_link(column.link, url_options) %>
      <% elsif column.ui_type == :boolean -%>
        <%= check_box_tag(nil, 1, column_value || column_value == 1, :disabled => true) %>
      <% else -%>
        <%= column_value %>
      <% end -%>

  <% end -%>
  <% if active_scaffold_config.action_links.any? {|link| link.type == :record } -%>

    <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options} %>

  <% end -%>

<% target_id = element_row_id(:action => :list, :id => record.id) -%>


inappropriate stylesheet

inappropriate stylesheet

  <title><%= controller.action_name %></title>
  <%= streamlined_auto_discovery_link_tag %>
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag 'streamlined' %>
  <%= javascript_include_tag '/windows_js/javascripts/window' %>
  <%= javascript_include_tag '/overlib/overlib' %>
  <%= javascript_include_tag 'rico_corner' %>
  <%= stylesheet_link_tag '/windows_js/themes/mac_os_x' %>
  <%= stylesheet_link_tag '/windows_js/themes/default' %>
  <%= stylesheet_link_tag 'as_style' %>
  <%= stylesheet_link_tag 'streamlined' %>
  <%= stylesheet_link_tag 'menu' %>

      <%= streamlined_branding %>
      <%= render(:partial => 'shared/streamlined/top_menu') %>

			<%= image_tag 'streamlined/loading.gif', :id=>'spinner', :style=>"display:none;" %>

<%= @content_for_layout %>

			<%= render(:partial => "shared/streamlined/side_menu")%>

<%= streamlined_footer %>

  <title><%= controller.action_name %></title>
  <%= streamlined_auto_discovery_link_tag %>
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag 'streamlined' %>
  <%= javascript_include_tag '/windows_js/javascripts/window' %>
  <%= javascript_include_tag '/overlib/overlib' %>
  <%= javascript_include_tag 'rico_corner' %>
  <%= stylesheet_link_tag '/windows_js/themes/mac_os_x' %>
  <%= stylesheet_link_tag '/windows_js/themes/default' %>
  <%= stylesheet_link_tag 'as_style' %>
  <%= stylesheet_link_tag 'streamlined' %>
  <%= stylesheet_link_tag 'menu' %>
  <%= stylesheet_link_tag 'gray' %>

      <%= streamlined_branding %>
      <%= render(:partial => 'shared/streamlined/top_menu') %>

			<%= image_tag 'streamlined/loading.gif', :id=>'spinner', :style=>"display:none;" %>

<%= @content_for_layout %>

			<%= render(:partial => "shared/streamlined/side_menu")%>

<%= streamlined_footer %>


my-network-block: pass class to render_profile_actions

<%= block_title(title) %>

<%= render :file => 'blocks/my_network/' + owner.class.name.underscore, :locals => { :owner => owner } %>

<%= link_to(__('Homepage'), owner.url, :class => 'url') %>

<%= link_to(_('View profile'), owner.public_profile_url) %>

  <% if !user.nil? and owner.organization? and user.has_permission?('edit_profile', profile) %>

<%= link_to _('Control panel'), :controller => 'profile_editor', :profile => profile.identifier %>

  <% end %>

  <%= render_profile_actions owner.class %>

<%= block_title(title) %>

<%= render :file => 'blocks/my_network/' + owner.class.name.underscore, :locals => { :owner => owner } %>

<%= link_to(__('Homepage'), owner.url, :class => 'url') %>

<%= link_to(_('View profile'), owner.public_profile_url) %>

  <% if !user.nil? and owner.organization? and user.has_permission?('edit_profile', profile) %>

<%= link_to _('Control panel'), :controller => 'profile_editor', :profile => profile.identifier %>

  <% end %>

  <%= render_profile_actions owner.class.name.underscore %>


show super powered coverage-unknown warning even when item is first in list

<%
   all_responses = fulltext

   (title_level_fulltxt, fulltxt) =
      all_responses.partition {|i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false}

%>

<div class="umlaut_section fulltext <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

  <%= renderer.render_heading %>

  <%
      list_with_limit('umlaut_fulltext', all_responses, :ul_class => "response_list", :limit => renderer.list_visible_limit ) do |item, index |
        # Display special warnign header if it's title-level only,
        # and it's an article or issue level link. Are we
        # at the beginning of title level display?
        if ( index == fulltxt.length &&
             !title_level_request? )
           genre = @user_request.referent.metadata['genre']
           genre = "Journal" if genre && genre.downcase == 'article' %>

<%= genre ? genre.titlecase : "Title" %>-level Page Only

Can not link directly to citation. Dates or extent of coverage may be unknown.

        <% end %>

        <%= render(:partial => "standard_response_item", :object=> item) %>
  <% end %>

  <%
  if (fulltxt.empty? && title_level_fulltxt.empty? &&
      ! service_type_in_progress?('fulltext'))
  %>

Not Available

  <% end %>

  <%= render( renderer.spinner_render_hash) if renderer.services_in_progress? %>

<%
   all_responses = fulltext

   (title_level_fulltxt, fulltxt) =
      all_responses.partition {|i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false}

%>

<div class="umlaut_section fulltext <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

  <%= renderer.render_heading %>

  <%
      list_with_limit('umlaut_fulltext', all_responses, :ul_class => "response_list", :limit => renderer.list_visible_limit ) do |item, index |
        # Display special warnign header if it's title-level only,
        # and it's an article or issue level link. Are we
        # at the beginning of title level display?
        if ( index == fulltxt.length &&
             index != 0 &&
             !title_level_request? )
           genre = @user_request.referent.metadata['genre']
           genre = "Journal" if genre && genre.downcase == 'article' %>

<%= genre ? genre.titlecase : "Title" %>-level Page Only

Can not link directly to citation. Dates or extent of coverage may be unknown.

        <% end %>

        <%= render(:partial => "standard_response_item", :object=> item) %>
  <% end %>

  <%
  if (fulltxt.empty? && title_level_fulltxt.empty? &&
      ! service_type_in_progress?('fulltext'))
  %>

Not Available

  <% end %>

  <%= render( renderer.spinner_render_hash) if renderer.services_in_progress? %>


Switched save image button to Do It.

Switched save image button to Do It.

git-svn-id: 3ebd8a4fd9006ff03462623fffc479a1d4750d42@10 7a65b82a-1d14-0410-b525-e2835e71a0b4

Upload Image for <%= @observation.unique_name %>

<%= error_messages_for("img") %>

<%= form_tag({:action => 'save_image'}, :multipart => true) %>
<%= submit_tag("Do It") %>

Upload your picture

<%= file_field("image", "image") %>

Title

<%= text_field("image", "title") %>

Owner

<%= text_field("image", "owner") %>

When

<%= date_select("image", "when", :start_year => Time.now.year-20, :end_year => Time.now.year) %>

Notes

<%= text_area("image", "notes") %>

<%= end_form_tag %>

Upload Image for <%= @observation.unique_name %>

<%= error_messages_for("img") %>

<%= form_tag({:action => 'save_image'}, :multipart => true) %>
<%= submit_tag("Upload file") %>

Upload your picture

<%= file_field("image", "image") %>

Title

<%= text_field("image", "title") %>

Owner

<%= text_field("image", "owner") %>

When

<%= date_select("image", "when", :start_year => Time.now.year-20, :end_year => Time.now.year) %>

Notes

<%= text_area("image", "notes") %>

<%= end_form_tag %>