Sha256: 6de6e344d86da7d7f14fc48e3fb6edf4c1f281d7514350694a87dcafc2041d11
Contents?: true
Size: 1.12 KB
Versions: 31
Compression:
Stored size: 1.12 KB
Contents
<%# Copyright © 2012 The Pennsylvania State University Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. %> <span id="last-event" class="ui-helper-hidden"><%# @last_event_timestamp %></span> <table id="activity" class="table table-striped well"> <caption class="accessible-hidden">Activity of users you follow</caption> <thead> <tr> <th> </th> <th>User Activity</th> <th>Date</th> </tr> </thead> <tbody> <% events.each do |event| %> <tr> <td> </td> <td><%= event[:action].html_safe %></td> <td><%= time_ago_in_words(Time.at(event[:timestamp].to_i)) %> ago</td> </tr> <% end %> </tbody> </table>
Version data entries
31 entries across 31 versions & 1 rubygems