Merge "PolyGerrit: Encode url for projects"
This commit is contained in:
		@@ -77,7 +77,7 @@ limitations under the License.
 | 
				
			|||||||
      <template is="dom-repeat" items="[[_shownProjects]]">
 | 
					      <template is="dom-repeat" items="[[_shownProjects]]">
 | 
				
			||||||
        <tr class="project-table">
 | 
					        <tr class="project-table">
 | 
				
			||||||
          <td class="name">
 | 
					          <td class="name">
 | 
				
			||||||
            <a href$="[[_getUrl(item.id)]]">[[item.name]]</a>
 | 
					            <a href$="[[_getUrl(item.name)]]">[[item.name]]</a>
 | 
				
			||||||
          </td>
 | 
					          </td>
 | 
				
			||||||
          <td class="description">[[item.description]]</td>
 | 
					          <td class="description">[[item.description]]</td>
 | 
				
			||||||
          <td class="repositoryBrowser">
 | 
					          <td class="repositoryBrowser">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -94,7 +94,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    _getUrl(item) {
 | 
					    _getUrl(item) {
 | 
				
			||||||
      return this.getBaseUrl() + '/admin/projects/' +
 | 
					      return this.getBaseUrl() + '/admin/projects/' +
 | 
				
			||||||
          this.encodeURL(item, false);
 | 
					          this.encodeURL(item, true);
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user