Commit d03fc03e authored by 神楽坂玲奈's avatar 神楽坂玲奈

用户中心初步,个人签名

git-svn-id: http://glupx.googlecode.com/svn/trunk/Reliz@84 189f022a-1064-8ae2-3e6f-c4a67275c50b
parent 28badc3e
...@@ -112,7 +112,11 @@ ...@@ -112,7 +112,11 @@
</div> </div>
</td></tr> </td></tr>
<tr><td class="postcontent postbottom"> <tr><td class="postcontent postbottom">
<div class="signatures" style="max-height:300px;maxHeightIE:300px;">新手~</div> <% unless post.user.signature.empty? %>
<div class="signatures" style="max-height:300px;maxHeightIE:300px;">
<%= post.user.signature %>
</div>
<% end %>
<div id="ad_thread1_1"></div></td> <div id="ad_thread1_1"></div></td>
</tr> </tr>
<tr> <tr>
......
...@@ -37,10 +37,18 @@ ...@@ -37,10 +37,18 @@
<%= f.label t 'user.nickname' %> <%= f.label t 'user.nickname' %>
<%= f.text_field :nickname %> <%= f.text_field :nickname %>
</div> </div>
<!-- <div class="field">
<%= f.label t 'user.old_password' %>
<%= f.text_field :password %>
</div>
<div class="field"> <div class="field">
<%= f.label t 'user.password' %> <%= f.label t 'user.new_password' %>
<%= f.text_field :password %> <%= f.text_field :password %>
</div> </div>
<div class="field">
<%= f.label t 'user.password_repeat' %>
<%= f.text_field :password %>
</div>-->
<div class="field"> <div class="field">
<%= f.label t 'user.email' %> <%= f.label t 'user.email' %>
<%= f.text_field :email %> <%= f.text_field :email %>
...@@ -49,6 +57,10 @@ ...@@ -49,6 +57,10 @@
<%= f.label t 'user.credit' %> <%= f.label t 'user.credit' %>
<%= @user.credit %> <%= @user.credit %>
</div> </div>
<div class="field">
<%= f.label t 'user.signature' %>
<%= f.text_area :signature %>
</div>
<div class="actions"> <div class="actions">
<%= f.submit %> <%= f.submit %>
......
...@@ -20,6 +20,9 @@ zh-CN: ...@@ -20,6 +20,9 @@ zh-CN:
topic: "主题" topic: "主题"
digest: "精华" digest: "精华"
guest: "游客" guest: "游客"
avatar: "头像"
nickname: "昵称"
signature: "个人签名"
forum: forum:
next: "下一页" next: "下一页"
prev: "上一页" prev: "上一页"
...@@ -47,8 +50,6 @@ zh-CN: ...@@ -47,8 +50,6 @@ zh-CN:
total: "总计" total: "总计"
max: "最高" max: "最高"
at: "于" at: "于"
navi:
forum: "论坛"
topic: topic:
new: "发帖" new: "发帖"
reply: "回复" reply: "回复"
...@@ -283,6 +284,6 @@ zh-CN: ...@@ -283,6 +284,6 @@ zh-CN:
select: select:
prompt: "请选择" prompt: "请选择"
submit: submit:
create: "新增%{model}" create: "新增"
update: "更新%{model}" update: "修改"
submit: "储存%{model}" submit: "储存"
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment