移动端版本管理

This commit is contained in:
z9hang 2015-03-06 15:33:59 +08:00
parent 3334299808
commit 754acc6945
3 changed files with 4 additions and 4 deletions

View File

@ -325,6 +325,8 @@ class AdminController < ApplicationController
#移动端版本管理
def mobile_version
@versions = PhoneAppVersion.reorder('created_at desc')
@new_version = PhoneAppVersion.new
end
end

View File

@ -33,7 +33,4 @@
<%= submit_tag l(:button_save), :class => "small", :name => nil %>
<% end %>
<div>
</div>

View File

@ -2,8 +2,9 @@
<a href="javascript:void(0)" onclick="$('#new_version').slideToggle(400); ">发布新版本</a>
<div>
<form id="new_version" style="display: none">
发布新版本
</form>
</div>
<br/>
<div>当前版本:</div>