forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_dashboard.html.erb
More file actions
39 lines (34 loc) · 1.41 KB
/
Copy pathuser_dashboard.html.erb
File metadata and controls
39 lines (34 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<% content_for :page_title do %><%= t('user_dashboard', 'User Dashboard') %><% end %>
<% css_bundle :dashboard %>
<% js_bundle :dashboard %>
<% content_for :auto_discovery do %>
<% if @current_user %>
<%= auto_discovery_link_tag(:atom, feeds_user_format_path(@current_user.feed_code, :atom), {:title => t('user_atom_feed', "User Atom Feed (All Courses)")}) %>
<% end %>
<% end %>
<% content_for :right_side do %>
<div class="placeholder"></div>
<% end %>
<div id="dashboard">
<%= render :partial => 'shared/dashboard_invitation', :collection => @pending_invitations %>
<%= render :partial => 'shared/dashboard_messages' %>
<div class="ic-Dashboard-header">
<div class="grid-row bottom-xs">
<div class="col-xs-9">
<h1 class="ic-Dashboard-header_title"><%= t :dashboard, "Dashboard" %></h1>
</div>
<div id="DashboardOptionsMenu_Container"
class="col-xs-3 ic-Dashboard-content--align-right">
</div>
</div>
</div>
<% if planner_enabled? %>
<% js_bundle :student_planner %>
<div id="dashboard-planner" class="StudentPlanner__Container" style="display: <%= show_planner? ? 'block' : 'none' %>"></div>
<% else %>
<div id="dashboard-activity" class="ic-Dashboard-Activity" style="display: <%= show_recent_activity? ? 'block' : 'none' %>">
<%= render :partial => 'shared/recent_activity' %>
</div>
<% end %>
<%= render :partial => 'shared/dashboard_card' %>
</div>