File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
< div id ="cpanel_sites ">
4
4
< table class ="table table-bordered table-striped table-condensed ">
5
5
< tr class ="head ">
6
- < td > 编号</ td >
7
- < td > <%= t ( "mongoid.attributes.site.name" ) %> </ td >
8
- < td > <%= t ( "mongoid.attributes.site.url" ) %> </ td >
9
- < td > <%= t ( "mongoid.attributes.site.desc" ) %> </ td >
10
- < td style ="width:100px "> <%= t ( "mongoid.attributes.site.site_node" ) %> </ td >
11
- < td style ="width:100px " > At </ td >
12
- < td style ="width:40px " class ="opts "> </ td >
6
+ < td style =" width:40px; " > 编号</ td >
7
+ < td style =" width:140px; " > 网站 </ td >
8
+ < td > 信息 </ td >
9
+ < td > 提交人 </ td >
10
+ < td style ="width:100px "> 节点 </ td >
11
+ < td style ="width:105px " > 时间 </ td >
12
+ < td style ="width:30px " class ="opts "> </ td >
13
13
</ tr >
14
14
<% @sites . each do |item | %>
15
15
< tr class ="<%= cycle ( "" , "even" ) %> <%= ' deleted' if !item . deleted_at . blank? %> ">
16
16
< td > <%= item . id %> </ td >
17
17
< td > <%= item . name %> </ td >
18
- < td > <%= item . url % ></ td >
19
- < td > <%= item . desc %> </ td >
18
+ < td > <%= link_to item . url , item . url , target : "_blank" %> < br /> < small class =" muted " > <%= item . desc %> </ small > </ td >
19
+ < td > <%= user_name_tag ( item . user ) %> </ td >
20
20
< td > <%= item . site_node . name if !item . site_node . blank? %> </ td >
21
21
< td > <%= l ( item . created_at , :format => :short ) %> </ td >
22
22
< td >
You can’t perform that action at this time.
0 commit comments