Created
August 21, 2012 17:53
-
-
Save enricostano/3417855 to your computer and use it in GitHub Desktop.
dashboard view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="left_dashboard_column"> | |
<div class="div_interno" id="projects_by_institution"> | |
<h2>Progetti attivi</h2> | |
<%= render 'projects/nextbyinstitution' %> | |
<% if current_user.role? :super_admin %> | |
<%= link_to 'Elenco progetti', projects_path %> | | |
<%= link_to 'Nuovo progetto', new_project_path %> | |
<% end %> | |
</div> | |
</div> | |
<div id="right_dashboard_column"> | |
<% if current_user.any_role? :super_admin, :admin %> | |
<div class="div_interno" id="latest_downloads"> | |
<h2>Ultimi downloads</h2> | |
data ora utente file<br/> | |
data ora utente file<br/> | |
data ora utente file<br/> | |
data ora utente file<br/> | |
data ora utente file<br/> | |
</div> | |
<div class="div_interno" id="users_buttons"> | |
<%= link_to 'Elenco utenti', users_path %> | | |
<%= link_to 'Nuovo utente', new_user_path %> | |
</div> | |
<div class="div_interno" id="institutions_buttons"> | |
<%= link_to 'Elenco enti', institutions_path %> | | |
<%= link_to 'Nuovo ente', new_institution_path %> | |
</div> | |
<% else %> | |
<div class="div_interno" id="user_cart"> | |
<h2>I tuoi acquisti</h2> | |
render cart | |
</div> | |
<% end %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment