Show More
Commit Description:
[web] refactor problem description, some styling...
Commit Description:
[web] refactor problem description, some styling
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@179 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/tasks/list.html.haml
| 13 lines
| 307 B
| text/x-haml
| HamlLexer
|
|
r88 | = user_title_bar(@user) | ||
|
r89 | .task-menu | ||
%b Task Listing: | ||||
|
r88 | |||
|
r89 | - @problems.each do |problem| | ||
|
r92 | - if problem.description!=nil | ||
|
r89 | %a{:href => "\##{problem.name}"}= "[#{problem.full_name}]" | ||
- else | ||||
= "[#{problem.full_name}]" | ||||
|
r88 | |||
|
r92 | %table.taskdesc | ||
= render :partial => 'problem', :collection => @problems | ||||