$htc->param(name => problem_name $id);
$htc->param(author => problem_author $id);
$htc->param(owner => problem_owner $id);
+ $htc->param(owner_name => do{ local $Gruntmaster::Data::contest; user_name $htc->param('owner')} );
$htc->param(statement => problem_statement $id);
+ $htc->param(timelimit => problem_timeout $id);
}
sub vary { 'Authorization' }
</div>
<div class="col-md-3">
+<div id="sidebar"></div>
+
+<h3>Problem information</h3>
<dl>
+<dt>Time limit:</dt> <dd><tmpl_var timelimit> s</dd>
<dt>Author</dt> <dd><tmpl_var author></dd>
- <dt>Owner</dt> <dd><tmpl_var owner></dd>
+ <dt>Owner</dt> <dd><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a></dd>
</dl>
<tmpl_if cansubmit>