Main Avalanche Network server application. Built with Ruby on Rails.

subscribers.html.erb 1.5KB

    <% title (t "admin_panel.subscribers") + " - " + @config.website_name %> <%= content_tag(:div, class: 'container top-container') do %> <%= content_tag(:div, class: 'row') do %> <%= content_tag(:div, class: 'span12') do %> <%= bootstrap_flash %> <% # Page Content %> <div class="row"> <%= render 'admin_panel/sidebar_nav' %> <div class="span9"> <div class="page-header"> <h1> <i class="fa fa-envelope"></i> <%= t "admin_panel.subscribers" %> <%= link_to (t "subscription.export"), export_subscribers_list_path(format: :csv), class: 'btn btn-primary btn-mini pull-right', style: 'margin-top: 10px' %> </h1> </div> <%= bootstrap_flash %> <table class="table table-bordered"> <thead> <tr> <th>Name</th> <th>Email</th> <th>User</th> <th>Language</th> <th>Registered</th> </tr> </thead> <tbody> <% @subscribers.each do |subscription| %> <tr> <td><%= subscription.full_name %></td> <td><%= subscription.email %></td> <td><%= subscription.registered_user %></td> <td><%= subscription.language %></td> <td><%= time_ago_in_words(subscription.created_at) %></td> </tr> <% end %> </tbody> </table> </div> </div> <% # End of Page Content %> <% end %> <% end %> <% end %>