scinote-web/app/views/dashboards/show.html.erb

18 lines
522 B
Text
Raw Normal View History

2020-02-13 21:54:58 +08:00
<% provide :head_title, t('nav.label.dashboard') %>
<% if current_team %>
2020-10-02 20:49:08 +08:00
<div class="dashboard-view">
<div class="dashboard-background"></div>
<div class="dashboard-header">
<%= render partial: 'quick_start' %>
</div>
<div class="dashboard-container">
<% Extends::DEFAULT_DASHBOARD_CONFIGURATION.each do |widget| %>
<% if widget[:visible] %>
<%= render partial: widget[:partial], locals: {widget: widget} %>
<% end %>
<% end %>
</div>
</div>
<% end %>