56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
<h3><%= l(:label_mobile_version) %></h3>
|
|
<a href="javascript:void(0)" onclick="$('#new_version').slideToggle(400); ">发布新版本</a>
|
|
<div>
|
|
<form id="new_version" style="display: none">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<br/>
|
|
<div>当前版本:</div>
|
|
<table class="list">
|
|
<thead>
|
|
<tr>
|
|
<th><%=l(:label_version_number)%></th>
|
|
<th><%=l(:label_version_description)%></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% if @versions.count > 0 %>
|
|
<tr class="<%= cycle("odd", "even") %>">
|
|
<td><%= @versions.first.version %></td>
|
|
<td align="center" style="width: 70%">
|
|
<%= @versions.first.description %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<br/>
|
|
|
|
<div>历史版本:</div>
|
|
<table class="list">
|
|
<thead>
|
|
<tr>
|
|
<th><%=l(:label_version_number)%></th>
|
|
<th><%=l(:label_version_description)%></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% if @versions.count > 0 %>
|
|
<% for version in @versions %>
|
|
<tr class="<%= cycle("odd", "even") %>">
|
|
<td><%= version.version %></td>
|
|
<td align="center" style="width: 70%">
|
|
<%= version.description %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<!-- <div class="pagination"><#%= pagination_links_full @role_pages %></div> -->
|
|
|
|
<% html_title(l(:label_mobile_version)) -%> |