Sha256: c15c0004be0243b61e3014f3706e51c15deedd4ae104f999fa59a5f8792254e5

Contents?: true

Size: 880 Bytes

Versions: 16

Compression:

Stored size: 880 Bytes

Contents

<div ng-controller="ProfilesCtrl as profiles" ng-cloak>
  <div ng-repeat="profile in profiles.members">
    <div class="row profile-participant">
      <p>
        User: 
        <a href="<%= social_networking_profile_path %>/{{ profile.id }}" data-no-turbolink="true">
        <img ng-src="{{ profile.iconSrc }}">
          {{ profile.username }}
        </a>
      </p>
      <p ng-class="profile.isAdmin ? 'invisible' : ''">
        Last seen: {{ profile.latestAction | timeFromNow }}
      </p>
    </div>
    <dl>
      <dt ng-repeat-start="r in profile.responses">{{ r.question }}</dt>
      <dd ng-repeat-end>{{ r.text }}</dd>
    </dl>
  </div>
</div>

<!-- bootstrap Angular app with current participant id -->
<script>
  angular.module('socialNetworking')
    .value('participantId', <%= current_participant.id %>)
    .value('profileId', <%= @profile.id %>);
</script>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
social_networking-0.13.3 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.13.2 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.13.1 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.13.0 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.12.0 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.8 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.7 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.6 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.5 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.4 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.3 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.2 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.1 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.11.0 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.10.0 app/views/social_networking/profile_pages/index.html.erb
social_networking-0.9.3 app/views/social_networking/profile_pages/index.html.erb