<commit_before>doctype html
html
  head
    title=="Admin for Ticket to RIDE"
    = stylesheet_link_tag 'admin', media: 'all'
    = javascript_include_tag 'admin'

  body
    div#nav-bar
      ul
        li Ticket to RIDE
        - if @admin.user_role == 'central_admin'
          li
            = link_to 'Supplemental Materials', {controller:'admin', action: 'central_supplemental_materials'}
          li
            = link_to 'People', {controller:'admin', action: 'central_people'}
        - else
          li
            = link_to 'Applications', '/admin/district/applications'
          li
            = link_to 'Supplemental Materials', '/admin/district/supplemental_materials'
          li
            = link_to 'People', '/admin/district/people'
          li
            = link_to 'Export', '/admin/district/export'
          li
            = link_to 'Sign Out', '/admin/signout'
        li
          = @admin.name
          | &nbsp;-&nbsp;
          = link_to 'Sign Out'
    main
      = yield

/ Google Analytics
/ TODO Uncomment after more development on admin is done
/ script
/     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
/         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
/             m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
/     })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

/     ga('create', 'UA-53294110-1', 'auto');
/     ga('send', 'pageview');<commit_msg>Added messages to the navigation for district admins<commit_after>doctype html
html
  head
    title=="Admin for Ticket to RIDE"
    = stylesheet_link_tag 'admin', media: 'all'
    = javascript_include_tag 'admin'

  body
    div#nav-bar
      ul
        li Ticket to RIDE
        - if @admin.user_role == 'central_admin'
          li
            = link_to 'Supplemental Materials', {controller:'admin', action: 'central_supplemental_materials'}
          li
            = link_to 'People', {controller:'admin', action: 'central_people'}
        - else
          li
            = link_to 'Applications', '/admin/district/applications'
          li
            = link_to 'Messages', '/admin/district/messages'
          li
            = link_to 'Supplemental Materials', '/admin/district/supplemental_materials'
          li
            = link_to 'People', '/admin/district/people'
          li
            = link_to 'Export', '/admin/district/export'
        li
          = @admin.name
          | &nbsp;-&nbsp;
          = link_to 'Sign Out'
    main
      = yield

/ Google Analytics
/ TODO Uncomment after more development on admin is done
/ script
/     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
/         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
/             m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
/     })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

/     ga('create', 'UA-53294110-1', 'auto');
/     ga('send', 'pageview');
{'fraction_non_alphanumeric': 0.1530776667740896, 'fraction_numerical': 0.007734450531743474, 'mean_word_length': 2.388646288209607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3201713', 'n_tokens_mistral': 1042, 'n_tokens_neox': 986, 'n_words': 187}