将代码测试编译器信息的冒号改为中文的
This commit is contained in:
parent
6d7eca487f
commit
0e827abd35
|
@ -93,13 +93,13 @@
|
|||
<div class="mt15">
|
||||
<span>请使用 <%= @homework.language_name %> 语言编写</span>
|
||||
<% if @homework.language.to_i == 1 %>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<% elsif @homework.language.to_i == 2 %>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<% elsif @homework.language.to_i == 3 %>
|
||||
<span class = "fr">编译器信息:Python version "2.6.6"</span>
|
||||
<span class = "fr">编译器信息:Python version "2.6.6"</span>
|
||||
<% elsif @homework.language.to_i == 4 %>
|
||||
<span class = "fr">编译器信息:java version "1.7.0_85" OpenJDK Runtime Environment</span>
|
||||
<span class = "fr">编译器信息:java version "1.7.0_85" OpenJDK Runtime Environment</span>
|
||||
<% end %>
|
||||
<span data-language=<%=@homework.language%> style="display-hidden" id="data-language"></span>
|
||||
</div>
|
||||
|
|
|
@ -76,13 +76,13 @@
|
|||
<div class="mt15">
|
||||
<span>请使用 <%= @homework.language_name %> 语言编写</span>
|
||||
<% if @homework.language.to_i == 1 %>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<% elsif @homework.language.to_i == 2 %>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<span class = "fr">编译器信息:gcc version "4.4.7" 20120313 (Red Hat 4.4.7-11) (GCC)</span>
|
||||
<% elsif @homework.language.to_i == 3 %>
|
||||
<span class = "fr">编译器信息:Python version "2.6.6"</span>
|
||||
<span class = "fr">编译器信息:Python version "2.6.6"</span>
|
||||
<% elsif @homework.language.to_i == 4 %>
|
||||
<span class = "fr">编译器信息:java version "1.7.0_85" OpenJDK Runtime Environment</span>
|
||||
<span class = "fr">编译器信息:java version "1.7.0_85" OpenJDK Runtime Environment</span>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="mt10">
|
||||
|
|
Loading…
Reference in New Issue