Changes for design: menu, frontend news and announcement
This commit is contained in:
		
							parent
							
								
									9982fd880f
								
							
						
					
					
						commit
						c6c8187bda
					
				|  | @ -1,5 +1,5 @@ | ||||||
| <!DOCTYPE HTML> | <!DOCTYPE HTML> | ||||||
| <html> | <html class="<%= I18n.locale.to_s %>"> | ||||||
| <head> | <head> | ||||||
| <meta charset="utf-8"> | <meta charset="utf-8"> | ||||||
| 	<%= page_title(@item).html_safe %> | 	<%= page_title(@item).html_safe %> | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ | ||||||
| 		<td><%= link_to post.title, panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %> | 		<td><%= link_to post.title, panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %> | ||||||
| 		<%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %> | 		<%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %> | ||||||
| 		</td> | 		</td> | ||||||
| 		<td><%= display_date_time(post.postdate) %></td> | 		<td class="date"><%= display_date_time(post.postdate) %></td> | ||||||
|   </tr> |   </tr> | ||||||
|    |    | ||||||
| <% end %> | <% end %> | ||||||
|  |  | ||||||
|  | @ -19,12 +19,12 @@ | ||||||
| 		</tr> | 		</tr> | ||||||
| 		<% @news_bulletins.each do |post| %> | 		<% @news_bulletins.each do |post| %> | ||||||
| 		<tr> | 		<tr> | ||||||
| 			<td><%= image_tag post.image rescue nil %></td> | 			<td class="img"><%= image_tag post.image rescue nil %></td> | ||||||
| 			<td> | 			<td> | ||||||
| 				<%= link_to post.title, panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %> | 				<%= link_to post.title, panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %> | ||||||
| 				<%= post.subtitle.html_safe rescue '' %> | 				<%= post.subtitle.html_safe rescue '' %> | ||||||
| 			</td> | 			</td> | ||||||
| 			<td><%= display_date(post.postdate) %></td> | 			<td class="date"><%= display_date(post.postdate) %></td> | ||||||
| 		</tr> | 		</tr> | ||||||
| 		<% end %>  | 		<% end %>  | ||||||
| 	</tbody> | 	</tbody> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue