Merge branch 'stable-3.0'
* stable-3.0: Add a 'banner' extension point Submit: Fix wrong conflict resolution Add extension point to the footer Fix dialog popup when going to /admin/create-project Change-Id: I5272d95050bf9f8ba847fbe489dcf6b6d847eb66
This commit is contained in:
@@ -293,7 +293,7 @@ public class Submit
|
||||
@Override
|
||||
public UiAction.Description getDescription(RevisionResource resource) {
|
||||
Change change = resource.getChange();
|
||||
if (!change.getStatus().isOpen() || !resource.isCurrent()) {
|
||||
if (!change.isNew() || !resource.isCurrent()) {
|
||||
return null; // submit not visible
|
||||
}
|
||||
|
||||
|
||||
@@ -1235,7 +1235,7 @@
|
||||
_handleCreateProjectRoute(data) {
|
||||
// Redirects the legacy route to the new route, which displays the project
|
||||
// list with a hash 'create'.
|
||||
this._redirect('/admin/projects#create');
|
||||
this._redirect('/admin/repos#create');
|
||||
},
|
||||
|
||||
_handleCreateGroupRoute(data) {
|
||||
|
||||
@@ -196,12 +196,14 @@ limitations under the License.
|
||||
Powered by <a href="https://www.gerritcodereview.com/" rel="noopener"
|
||||
target="_blank">Gerrit Code Review</a>
|
||||
([[_version]])
|
||||
<gr-endpoint-decorator name="footer-left"></gr-endpoint-decorator>
|
||||
</div>
|
||||
<div>
|
||||
<a class="feedback"
|
||||
href$="[[_feedbackUrl]]"
|
||||
rel="noopener" target="_blank">Send feedback</a>
|
||||
| Press “?” for keyboard shortcuts
|
||||
<gr-endpoint-decorator name="footer-right"></gr-endpoint-decorator>
|
||||
</div>
|
||||
</footer>
|
||||
<gr-overlay id="keyboardShortcuts" with-backdrop>
|
||||
|
||||
Reference in New Issue
Block a user