Description:
change description behavior, popup desc window
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@52 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r28:0a910fb622c4 - - 1 file changed: 1 inserted, 1 deleted
@@ -13,25 +13,25 | |||
|
13 | 13 | </div> |
|
14 | 14 | |
|
15 | 15 | <hr/> |
|
16 | 16 | |
|
17 | 17 | <p style="color: red"><%= flash[:notice] %></p> |
|
18 | 18 | |
|
19 | 19 | <div class="problist"> |
|
20 | 20 | <% i = 0 %> |
|
21 | 21 | <% @problems.each do |p| %> |
|
22 | 22 | <div class="problist-each"> |
|
23 | 23 | <div class="probname"> |
|
24 | 24 | <%= "#{i+1}: #{p.full_name} (#{p.name})" %> |
|
25 | - <%= link_to '[task description]', p.url if (p.url!=nil) and (p.url!='') %> | |
|
25 | + <%= link_to '[task description]', p.url, :popup => true if (p.url!=nil) and (p.url!='') %> | |
|
26 | 26 | </div> |
|
27 | 27 | <div class="subinfo"> |
|
28 | 28 | <%= format_submission(@prob_submissions[i][1], |
|
29 | 29 | @prob_submissions[i][0]) %> |
|
30 | 30 | </div> |
|
31 | 31 | </div> |
|
32 | 32 | <% i = i+1 %> |
|
33 | 33 | <% end %> |
|
34 | 34 | </div> |
|
35 | 35 | |
|
36 | 36 | <hr /> |
|
37 | 37 |
You need to be logged in to leave comments.
Login now