Replace gitweb glue with WebLink extensions

Keep the gitweb configuration section, but bind the URLs through the
WebLink extension points instead of specific support in the web UI.
This simplifies the server and UI implementations a bit by using
only code paths that other plugins like the gitiles plugin use.

Change-Id: I8508dcaf3a4405b3ce3a47f2f717472a46e5a8ca
This commit is contained in:
Shawn Pearce
2016-06-08 21:29:53 -07:00
parent e7d7282284
commit c4a90512d5
17 changed files with 180 additions and 504 deletions

View File

@@ -191,7 +191,7 @@ public class EditScreen extends Screen {
@Override
public void onSuccess(ChangeInfo c) {
project.setInnerText(c.project());
SafeHtml.setInnerHTML(filePath, Header.formatPath(path, null, null));
SafeHtml.setInnerHTML(filePath, Header.formatPath(path));
}
@Override