RSS Git Download  Clone
Raw Blame History
<!-- BEGIN [% template.name %] -->
  <table class="tree">
    <tr>
      <td>
		[% div_name = 'resources'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
     </td>
      <td>
        <span class="title">General</span>
      </td>
    </tr>
  </table>

  [% BLOCK row %]
    <tr>
      <td>
        <img alt="" src="/images/text.gif" class="text" />
      </td>
      <td>
        <a class="nav" href="[% app_url %]/[% class_function %]">
            [% title | html %]
			</a>
		</td>
    </tr>
    [% END %]

  <div class='itemhidden' id='[% div_name %]'>
    <table style="margin-left: 30px">
	  [% INCLUDE row class_function = 'user/change_password'
		title = 'Change password' %]

	  [% INCLUDE row class_function = 'user/change_location'
		title = 'Change registered location' %]

	  [% INCLUDE row class_function = 'user/change_email'
		title = 'Change registered email address' %]

	  [% INCLUDE row class_function = 'resources/user_messages'
		title = 'User message centre' %]

	  [% INCLUDE row class_function = 'resources/active_sessions'
		title = 'Who\'s logged in?' %]

	  [% IF c.user_can('screen');
		  INCLUDE row class_function = 'resources/list_all_screen_tests'
			title = 'List all screen tests';
		END %]

	  [% IF c.user_can('register');
		INCLUDE row class_function = 'referral-source'
		  title = 'Referrers & Referral Sources';
		END %]

	  [% IF c.user_can('do_admin');
		INCLUDE row class_function = 'resources/data_file'
		  title = 'New CfH data file';
		END %]

	  [% INCLUDE row class_function = 'resources/new_diagnoses'
		title = 'New/relapsed diagnoses' %]

	  [% IF c.user_can('patient_merge') %]
      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td>
			<a class="nav" href="[% app_url %]/admin/patient_merge" target="_blank">
			  Merge patients 
			</a>
	  	</td>
      </tr>
	  [% END %]
    </table>
  </div>
<!-- BEGIN [% template.name %] -->