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'),
|
headerText: $.i18n.prop('search.artifact.results.classifier'),
|
||||||
rowText: "classifier",
|
rowText: "classifier",
|
||||||
id: "classifier"
|
id: "classifier"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
headerText: $.i18n.prop('search.artifact.results.fileExtension'),
|
||||||
|
rowText: "fileExtension",
|
||||||
|
id: "fileExtension"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
@ -2021,6 +2026,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","select2","knockout","kno
|
||||||
applyAutocompleteOnHeader('artifactId',self);
|
applyAutocompleteOnHeader('artifactId',self);
|
||||||
applyAutocompleteOnHeader('version',self);
|
applyAutocompleteOnHeader('version',self);
|
||||||
applyAutocompleteOnHeader('classifier',self);
|
applyAutocompleteOnHeader('classifier',self);
|
||||||
|
applyAutocompleteOnHeader('fileExtension',self);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -471,6 +471,10 @@
|
||||||
<input type="text" class="form-search" id="search-filter-auto-classifier"
|
<input type="text" class="form-search" id="search-filter-auto-classifier"
|
||||||
placeholder="${$.i18n.prop('search.artifact.result.grid.filter')}"/>
|
placeholder="${$.i18n.prop('search.artifact.result.grid.filter')}"/>
|
||||||
</th>
|
</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>
|
</tr>
|
||||||
</thead>
|
</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(){artifactIdView(row)}">${row.artifactId}</a></td>
|
||||||
<td><a href="#" data-bind="click: function(){artifactDetailView(row)}">${row.version}</a></td>
|
<td><a href="#" data-bind="click: function(){artifactDetailView(row)}">${row.version}</a></td>
|
||||||
<td>${row.classifier}</td>
|
<td>${row.classifier}</td>
|
||||||
|
<td>${row.fileExtension}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue