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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user