sis_batch_counts.mustache 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <%
  2. # Copyright (C) 2011 - present Instructure, Inc.
  3. #
  4. # This file is part of Canvas.
  5. #
  6. # Canvas is free software: you can redistribute it and/or modify it under
  7. # the terms of the GNU Affero General Public License as published by the Free
  8. # Software Foundation, version 3 of the License.
  9. #
  10. # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
  11. # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
  13. # details.
  14. #
  15. # You should have received a copy of the GNU Affero General Public License along
  16. # with this program. If not, see <http://www.gnu.org/licenses/>.
  17. %>
  18. <% counts = sis_batch_counts.data[:counts] %>
  19. <ul>
  20. <li>{{#t}}Imported Items{{/t}}
  21. <ul>
  22. <li><%= before_label(t(:accounts_label, "Accounts")) %> <%= counts[:accounts] %></li>
  23. <li><%= before_label(t(:terms_label, "Terms")) %> <%= counts[:terms] %></li>
  24. <li><%= before_label(t(:courses_label, "Courses")) %> <%= counts[:courses] %></li>
  25. <li><%= before_label(t(:sections_label, "Sections")) %> <%= counts[:sections] %></li>
  26. <li><%= before_label(t(:users_label, "Users")) %> <%= counts[:users] %></li>
  27. <li><%= before_label(t(:enrollments_label, "Enrollments")) %> <%= counts[:enrollments] %></li>
  28. <li><%= before_label(t(:crosslists_label, "Crosslists")) %> <%= counts[:xlists] %></li>
  29. <li><%= before_label(t("Admins")) %> <%= counts[:admins] %></li>
  30. <li><%= before_label(t(:groups, "Groups")) %> <%= counts[:groups] %></li>
  31. <li><%= before_label(t(:group_enrollments, "Group Enrollments")) %> <%= counts[:group_memberships] %></li>
  32. <li><%= before_label(t("User Observers")) %> <%= counts[:user_observers] %></li>
  33. <li><%= before_label(t("Change SIS IDs")) %> <%= counts[:change_sis_id] %></li>
  34. </ul>
  35. </li>
  36. </ul>