forked from I2P_Developers/i2p.i2p
Rearrange summary bar code to consolidate Ajax and IFrame, and /home and /console
Now, Ajax will be used first, and will fall back to IFrame if JS is disabled, and a separate page if on a text or mobile browser. Also, /home and /console (and everywhere) now all have the same summary bar content, which currently defaults to the original full listing.
This commit is contained in:
@@ -18,12 +18,6 @@ public class NewsHelper extends ContentHelper {
|
||||
return super.getContent();
|
||||
}
|
||||
|
||||
/** @since 0.9.1 */
|
||||
public String getNewsHeadings() {
|
||||
SummaryBarRenderer renderer = new SummaryBarRenderer(_context, this);
|
||||
return renderer.renderNewsHeadingsHTML();
|
||||
}
|
||||
|
||||
/** @since 0.8.12 */
|
||||
public boolean shouldShowNews() {
|
||||
return NewsFetcher.getInstance(_context).shouldShowNews();
|
||||
|
||||
Reference in New Issue
Block a user