2021-03-17 07:33:31 +00:00
|
|
|
<span id="index_table" style="display: inline-block;">
|
2016-06-29 06:57:45 +00:00
|
|
|
<script>
|
|
|
|
if(document.querySelectorAll("#orbit-bar").length==0) location.reload();
|
|
|
|
</script>
|
2021-03-17 07:33:31 +00:00
|
|
|
<% if @can_edit %>
|
2021-04-03 16:23:52 +00:00
|
|
|
<ul class="pull-right">
|
|
|
|
<li><a href="?type=" class="btn <%='active' if params[:type] == ''%>"><%= t('seminar.dashboard') %></a></li>
|
|
|
|
<% if @seminar.enable_summary_choice %>
|
|
|
|
<li><a href="?type=session" class="btn <%='active' if params[:type] == 'session'%>"><%= t('seminar.session_dashboard') %></a></li>
|
|
|
|
<% end %>
|
|
|
|
<li><a href="?type=table" class="btn <%='active' if params[:type] == 'table'%>"><%= t('seminar.table') %></a></li>
|
|
|
|
</ul>
|
2021-03-17 07:33:31 +00:00
|
|
|
<% end %>
|
|
|
|
<% if params[:type] == "table" || (!@can_edit) %>
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
<%= render :partial => 'seminar_signup_table' %>
|
2021-04-03 16:23:52 +00:00
|
|
|
<% elsif params[:type] == "session" %>
|
|
|
|
<%=render :partial => 'seminar_signup_session_dashboard' %>
|
2021-03-17 07:33:31 +00:00
|
|
|
<% else %>
|
|
|
|
<%= render :partial => 'seminar_signup_dashboard' %>
|
|
|
|
<% end %>
|
|
|
|
<style type="text/css">
|
|
|
|
.pull-right li{
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
li{
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
</style>
|