[%# Screen for displaying the metric information of a topic. #%] [% USE AutomagicLinks %] [% PROCESS viewtopicheader.html.tmpl version = version topicview = 0 topicproperties = 0 topiccomments = 0 topicinfo = 1 closehead = 1 help = "x637.html" %] [%# Create a form to allow the topic's metrics to be changed #%] [% SET metric_input_exists = 0 %]

Comment Metrics

[% FOREACH metric = comment_metrics %] [%# Output the metric header on its own line #%] [%# Now output the metric's enumerated values #%] [% FOREACH value = metric.values %] [% END %] [%# Now output the values #%] [% FOREACH value = metric.values %] [% END %] [% END %] [%# Output the comment count metrics #%]
[% metric.name %][% value %]
 [% comment_metric_tally.${metric.name}.$value %]
Total Comment Threads Submitted Comments
  [% number_comment_threads %] [% number_comments %]

Topic Metrics

[% FOREACH metric = topic_metrics %] [% END %] [% FOREACH metric = topic_metrics %] [% IF metric.enabled %] [% metric_input_exists = 1 %] [% ELSE %] [% END %] [% END %]
Lines[% metric.name %] [% IF metric.description != '' %] (?) [% END %]
[% number_of_lines %][% metric.value %]

User Metrics

[% FOREACH metric = author_metrics %] [% END %] [% type = 0 %] [% type = type + 1 %] [% FOREACH metric = author_metrics %] [% IF metric.scope == 'author' || metric.scope == 'participant' %] [% IF metric.enabled %] [% metric_input_exists = 1 %] [% ELSE %] [% END %] [% ELSE %] [% END %] [% END %] [% FOREACH rmetric = reviewer_metrics %] [% type = type + 1 %] [% SET reviewerindex = loop.index() %] [% FOREACH metric = rmetric.user_metrics %] [% IF metric.scope != 'author' %] [% IF metric.enabled != 0 %] [% metric_input_exists = 1 %] [% ELSE %] [% END %] [% ELSE %] [% END %] [% END %] [% END %] [% type = type + 1 %] [% FOREACH metric = total_metrics %] [% END %]
User[% metric.name %] [% IF metric.description != '' %] (?) [% END %]
[% author %][% metric.value %]
[% rmetric.reviewer %][% metric.value %]
 [% metric.value %]

[% IF metric_input_exists == 1 %] [%# Render the submit button #%] [% END %]

Activity Log

[% type = 0 %] [% FOREACH activity = activity_list %] [% type = type + 1 %] [% END %]
WhoWhenWhen
[% activity.email | html_entity %] [% activity.date | html_entity %] [% activity.description | html_entity | $AutomagicLinks %]
[% PROCESS trailer.html.tmpl %]