diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/list/index.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/index.rhtml | 2 | ||||
-rw-r--r-- | app/views/user/index.rhtml | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/list/index.rhtml b/app/views/list/index.rhtml index 7161ff10d..60d1ae0ba 100644 --- a/app/views/list/index.rhtml +++ b/app/views/list/index.rhtml @@ -15,7 +15,7 @@ <tr class="<%= cycle('odd', 'even') %>"> <td><%= link_to h(info_request.title), :controller => 'request', :action => 'index', :id => info_request %></td> <td><%= link_to h(info_request.user.name), :controller => 'user', :action => 'index', :name => info_request.user.name %></td> - <td><%= info_request.created_at %></td> + <td><%= simple_date(info_request.created_at) %></td> </tr> <% end %> </table> diff --git a/app/views/request/index.rhtml b/app/views/request/index.rhtml index 3c61ce179..950ecd8e9 100644 --- a/app/views/request/index.rhtml +++ b/app/views/request/index.rhtml @@ -9,7 +9,7 @@ Request to <%=h @info_request.public_body.name%> <p> Created by <%= link_to h(@info_request.user.name), :controller => 'user', :action => 'index', :name => @info_request.user.name %> -on <%= @info_request.created_at %> +on <%= simple_date(@info_request.created_at) %> </p> diff --git a/app/views/user/index.rhtml b/app/views/user/index.rhtml index 5e7b8a67e..535eab8d9 100644 --- a/app/views/user/index.rhtml +++ b/app/views/user/index.rhtml @@ -7,11 +7,11 @@ <% for display_user in @display_users %> <h2><%=@title%></h2> - <p>Registered <%= display_user.created_at %></p> + <p>Registered on <%= simple_date(display_user.created_at) %></p> <p>Freedom of Information requests made by this person:</p> <ul> <% for info_request in display_user.info_requests %> - <li><%= link_to h(info_request.title), :controller => 'request', :action => 'index', :id => info_request %></td> + <li><%= link_to h(info_request.title), :controller => 'request', :action => 'index', :id => info_request %></li> <% end %> </ul> <% end %> |