个人主页调整
This commit is contained in:
parent
07458b35d9
commit
f6e86866cb
|
@ -4,7 +4,7 @@
|
|||
<% end %>
|
||||
|
||||
<div>
|
||||
<input type="text" name="article_homepage[title]" id="message_subject" class="InputBox" style="width: 99.5%;" maxlength="255" onkeyup="regexTopicSubject();" placeholder="请输入标题,该标题不会在个人主页中显示" value="<%=@article.title %>" />
|
||||
<input type="text" name="article_homepage[title]" id="message_subject" class="InputBox" style="width: 99.5%;" maxlength="255" onkeyup="regexTopicSubject();" placeholder="请输入标题,例如:张小兰的个人主页" value="<%=@article.title %>" />
|
||||
<p id="subjectmsg"></p>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="homepageMainContent">
|
||||
<div class="postRightContainer pr" style="padding: 25px 40px;">
|
||||
<% if User.current == @user && @article == @user.base_homepage %>
|
||||
<div class="homepagePostSetting" style="top: -25px;">
|
||||
<div class="homepagePostSetting" style="top: 0px;">
|
||||
<ul>
|
||||
<li class="homepagePostSettingIcon">
|
||||
<ul class="homepagePostSettiongText">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<ul>
|
||||
<% if User.current.logged?%>
|
||||
<% if User.current == target%>
|
||||
<li style="width: 119px; float: left; border-right: 1px solid #ddd;"><%= link_to("编辑基本资料", my_account_path, :class => "user_editinfo") %></li>
|
||||
<li style="width: 119px; float: left; border-right: 1px solid #ddd;"><%= link_to("个人资料", my_account_path, :class => "user_editinfo") %></li>
|
||||
<li style="width: 118px; float: left;"><%= link_to '个人主页', homepage_user_path(@user.login), :class => "user_editinfo", :target => '_blank' %></li>
|
||||
<li class="cl"></li>
|
||||
<% else%>
|
||||
|
|
Loading…
Reference in New Issue