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-04 12:33:09 +00:00
|
|
|
<% if params[:type].blank?%>
|
|
|
|
<label><input id="copy_mode_on" type="checkbox"><%=t("seminar.copy_mode_on")%></label>
|
|
|
|
<% end %>
|
2021-04-03 16:23:52 +00:00
|
|
|
<ul class="pull-right">
|
2021-04-04 12:33:09 +00:00
|
|
|
<li><a href="?type=" class="btn <%='active' if params[:type].blank? %>"><%= t('seminar.dashboard') %></a></li>
|
2021-04-03 16:23:52 +00:00
|
|
|
<% 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>
|