18 lines
934 B
Plaintext
18 lines
934 B
Plaintext
- set_meta_tags title: t('layout.advisories.list_header')
|
|
- set_meta_tags og: { title: t('layout.advisories.list_header'),
|
|
description: t('layout.advisories.search') }
|
|
- set_meta_tags twitter: { title: t('layout.advisories.list_header'),
|
|
description: t('layout.advisories.search') }
|
|
|
|
- render partial: 'submenu'
|
|
.col-xs-12.col-md-10.col-md-offset-1
|
|
.row
|
|
- q = params[:q].presence || 'null'
|
|
div ng-controller='AdvisoryCtrl' ng-init="init(#{ q })"
|
|
h3
|
|
= t('layout.advisories.list_header')
|
|
= link_to image_tag("rss.ico", width: '15px', height: '15px', class: 'atom_icon'),
|
|
APP_CONFIG['anonymous_access'] ? advisories_path(format: 'atom') : advisories_path(format: 'atom', token: current_user.authentication_token)
|
|
== render partial: 'list', object: @advisories
|
|
= angularjs_paginate( per_page: Advisory.per_page )
|