This file ( 3kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
<!-- BEGIN [% component.name %] -->
[% # INCLUDE dumper.tt dump = settings %]
[% # INCLUDE dumper.tt name = 'packs' dump = data.packs %]
[% # INCLUDE dumper.tt name = 'results' dump = data.results %]
[%# FOR r IN [ 'base', 'path', 'host', 'uri', 'uri_base', 'uri_for' ];
INCLUDE dumper.tt name = r dump = request.$r;
END %]
<div class="row" style="margin-top: 1em">
<div class="span12">
[% user = session.user;
IF settings.environment.match('development');
INCLUDE dumper.tt dump = user; END %]
<h2>Welcome
[% IF NOT user.last_name; # using a demo db
user.initials; '/'; user.nhs_number; '[OUT'; user.patient_id; ']';
ELSE; user.first_name.ucfirst; ' '; user.last_name.upper; END %]
to [% settings.webapp_name %]
</h2>
</div>
</div>
[% INCLUDE patient_details.tt %]
<div class="row">
<div class="span12">
[% IF data.packs.size; INCLUDE packs.tt; ELSE; %]
<p class="message">We have not received any requests yet</p>
[% END %]
</div>
</div>
<hr />
<div class="row">
<div class="span12">
[% IF data.print_report_token %]
<!-- Button -->
<div class="control-group">
<label class="control-label" for="singlebutton">
<div class="message">
To view an electronic copy of your latest clinical report
[[%
IF data.date_reported;
data.date_reported.strftime('%d.%b.%Y');
ELSE; 'sample received ';
data.date_registered.strftime('%d.%b.%Y');
END;
%]]:
<div class="indent controls">
<a class="btn btn-primary" role="button" target="_blank"
href="[%
IF settings.db_name.match('demo'); # static html files:
request.uri_base; '/reports/';
user.nhs_number; '.htm';
ELSE; # dynamically-generated reports:
request.uri_base.replace(':3000',':8000');
'/'; settings.report_url;
'/'; data.print_report_token;
END %]">View Report</a>
<span class="text-warning">« opens in new tab/window</span>
</div>
</div>
</label>
</div>
<!-- // if emailing report:
<div class="text-info">
If you do not receive your report within 24 hours, please contact the
Outreach Team...
</div>
-->
</div>
[% ELSE %]
<p class="message">You do not have any previous reports to view</p>
[% END %]
</div>
<!-- END [% component.name %] -->