mirror of https://github.com/apache/archiva.git
display file extension in search
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1526878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d6b0df838
commit
394e1d2c45
|
@ -2013,6 +2013,11 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
|
|||
headerText: $.i18n.prop('search.artifact.results.classifier'),
|
||||
rowText: "classifier",
|
||||
id: "classifier"
|
||||
},
|
||||
{
|
||||
headerText: $.i18n.prop('search.artifact.results.fileExtension'),
|
||||
rowText: "fileExtension",
|
||||
id: "fileExtension"
|
||||
}
|
||||
],
|
||||
pageSize: 10,
|
||||
|
@ -2021,6 +2026,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
|
|||
applyAutocompleteOnHeader('artifactId',self);
|
||||
applyAutocompleteOnHeader('version',self);
|
||||
applyAutocompleteOnHeader('classifier',self);
|
||||
applyAutocompleteOnHeader('fileExtension',self);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -471,6 +471,10 @@
|
|||
<input type="text" class="form-search" id="search-filter-auto-classifier"
|
||||
placeholder="${$.i18n.prop('search.artifact.result.grid.filter')}"/>
|
||||
</th>
|
||||
<th title="${$.i18n.prop('search.artifact.results.fileExtension')}">
|
||||
<input type="text" class="form-search" id="search-filter-auto-fileExtension"
|
||||
placeholder="${$.i18n.prop('search.artifact.result.grid.filter')}"/>
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -481,6 +485,7 @@
|
|||
<td><a href="#" data-bind="click: function(){artifactIdView(row)}">${row.artifactId}</a></td>
|
||||
<td><a href="#" data-bind="click: function(){artifactDetailView(row)}">${row.version}</a></td>
|
||||
<td>${row.classifier}</td>
|
||||
<td>${row.fileExtension}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue