Lines 64-70
Link Here
|
64 |
|
64 |
|
65 |
[% IF ( koha_news ) %] |
65 |
[% IF ( koha_news ) %] |
66 |
|
66 |
|
67 |
|
|
|
68 |
[% IF single_news_error %] |
67 |
[% IF single_news_error %] |
69 |
|
68 |
|
70 |
<div class="alert alert-error"> |
69 |
<div class="alert alert-error"> |
Lines 86-92
Link Here
|
86 |
|
85 |
|
87 |
[% END %] |
86 |
[% END %] |
88 |
|
87 |
|
89 |
[% UNLESS news_item %] <!-- If single news item --> |
88 |
[% UNLESS news_item %] <!-- unless single news item --> |
90 |
|
89 |
|
91 |
<div id="rssnews-container"> |
90 |
<div id="rssnews-container"> |
92 |
<!-- Logged in users have a branch code or it could be explicitly set --> |
91 |
<!-- Logged in users have a branch code or it could be explicitly set --> |
Lines 105-135
Link Here
|
105 |
[% END %] |
104 |
[% END %] |
106 |
[% END %] |
105 |
[% END %] |
107 |
</div> |
106 |
</div> |
108 |
[% ELSE %] |
107 |
|
109 |
[% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] |
108 |
[% IF ( display_daily_quote && daily_quote ) %] |
110 |
<div id="news" class="newscontainer"> |
109 |
<div id="daily-quote"> |
111 |
<div class="newsitem"> |
110 |
<h3>Quote of the day</h3> |
112 |
<div class="newsbody">No news to display.</div> |
111 |
<div> |
113 |
<div class="newsfooter"></div> |
112 |
<span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span> |
114 |
</div> |
|
|
115 |
</div> |
113 |
</div> |
116 |
[% END %] |
114 |
</div> |
117 |
[% END %] |
115 |
[% END %] |
118 |
|
116 |
|
119 |
[% IF ( display_daily_quote && daily_quote ) %] |
117 |
[% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %] |
120 |
<div id="daily-quote"> |
118 |
|
121 |
<h3>Quote of the day</h3> |
119 |
[% END %] <!-- single news item --> |
122 |
<div> |
120 |
[% ELSE %] <!-- koha news --> |
123 |
<span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span> |
121 |
[% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %] |
|
|
122 |
<div id="news" class="newscontainer"> |
123 |
<div class="newsitem"> |
124 |
<div class="newsbody">No news to display.</div> |
125 |
<div class="newsfooter"></div> |
126 |
</div> |
124 |
</div> |
127 |
</div> |
125 |
</div> |
128 |
[% END %] |
126 |
[% END %] |
129 |
[% END %] |
127 |
|
|
|
128 |
[% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %] |
129 |
</div> <!-- / .span 7/9 --> |
130 |
</div> <!-- / .span 7/9 --> |
130 |
|
131 |
|
131 |
[% END %] <!-- If single news item --> |
|
|
132 |
|
133 |
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %] |
132 |
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %] |
134 |
<div class="span3"> |
133 |
<div class="span3"> |
135 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
134 |
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %] |
136 |
- |
|
|