Set rel="nofollow" on compressed download links
| | |
| | | - Properly set application/json content-type on api calls
|
| | | - Make days back filter choices a setting
|
| | | - Changed default days back filter setting to 7 days
|
| | | - Set rel="nofollow" on compressed download links
|
| | | - Improved page title
|
| | | - Updated Polish translation
|
| | | - Updated Japanese translation
|
| | |
| | |
|
| | | contributors:
|
| | | - Bandarupalli Satyanarayana
|
| | | - Chad H.
|
| | | - Chad Horohoe
|
| | | - Christian Aistleitner
|
| | | - David Ostrovsky
|
| | | - Egbert Teeselink
|
| | |
| | | - Lukasz Jader
|
| | | - Martijn Laan
|
| | | - Matthias Bauer
|
| | | - Micha�l Pailloncy
|
| | | - Michael Pailloncy
|
| | | - Michael Schaefers
|
| | | - Oliver Doepner
|
| | | - Philip Boutros
|
| | |
| | |
|
| | | String href = DownloadZipServlet.asLink(baseUrl, repositoryName,
|
| | | objectId, path, format);
|
| | | Component c = new LinkPanel("compressedLink", null, format.name(), href);
|
| | | LinkPanel c = new LinkPanel("compressedLink", null, format.name(), href);
|
| | | c.setNoFollow();
|
| | | item.add(c);
|
| | | Label lb = new Label("linkSep", "|");
|
| | | lb.setVisible(counter > 0);
|
| | |
| | | */
|
| | | package com.gitblit.wicket.panels;
|
| | |
|
| | | import org.apache.wicket.Component;
|
| | | import org.apache.wicket.PageParameters;
|
| | | import org.apache.wicket.behavior.SimpleAttributeModifier;
|
| | | import org.apache.wicket.markup.html.WebPage;
|
| | |
| | | add(link);
|
| | | }
|
| | |
|
| | | public void setNoFollow() {
|
| | | Component c = get("link");
|
| | | c.add(new SimpleAttributeModifier("rel", "nofollow"));
|
| | | }
|
| | |
|
| | | }
|