<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (C) 2014 The Android Open Source Project

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<module rename-to="reviewers">
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name="com.google.gwt.user.User"/>
  <!-- Other module inherits                                      -->
  <inherits name="com.google.gerrit.Plugin"/>
  <inherits name="com.google.gwt.http.HTTP"/>
  <inherits name="com.google.gwt.json.JSON"/>
  <inherits name="com.google.gwtexpui.globalkey.GlobalKey"/>
  <!-- Using GWT built-in themes adds a number of static          -->
  <!-- resources to the plugin. No theme inherits lines were      -->
  <!-- added in order to make this plugin as simple as possible   -->
  <!-- Specify the app entry point class.                         -->
  <entry-point class="com.googlesource.gerrit.plugins.reviewers.client.ReviewersPlugin"/>
  <stylesheet src="/reviewers.css"/>
</module>

<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (C) 2014 The Android Open Source Project

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<module rename-to="reviewers">
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name="com.google.gwt.user.User"/>
  <!-- Other module inherits                                      -->
  <inherits name="com.google.gerrit.Plugin"/>
  <inherits name="com.google.gwt.http.HTTP"/>
  <inherits name="com.google.gwt.json.JSON"/>
  <inherits name="com.google.gwtexpui.globalkey.GlobalKey"/>
  <!-- Using GWT built-in themes adds a number of static          -->
  <!-- resources to the plugin. No theme inherits lines were      -->
  <!-- added in order to make this plugin as simple as possible   -->
  <!-- Specify the app entry point class.                         -->
  <entry-point class="com.googlesource.gerrit.plugins.reviewers.client.ReviewersPlugin"/>
  <stylesheet src="reviewers.css"/>
</module>

Fix loading of CSS file
Fix loading of CSS file

Remove the leading '/' from the css file path, because otherwise
Gerrit fails to load this file:

Failed to load resource: the server responded with a status of 404
https://<host>/plugins/reviewers/static/reviewers//reviewers.css

Change-Id: Ib8269a52096c6ae6df26ba3697cb9a52de6533b1
Signed-off-by: Edwin Kempin <d43fb6c98c97e553b671ed9a9318100f1de386e7@google.com>
(cherry picked from commit b4dd8afaddeb7487ff7b47036e17a106824ae833)
