browsetag.ui.js 397 B

1234567891011121314
  1. window.renderCell = function(result, info)
  2. {
  3. if(info.col.name == 'name' && result && info.row.data.protected)
  4. {
  5. result.push({html: `<span class="label secondary roundedsecondary-full">${protectedTag}</span>`});
  6. }
  7. return result;
  8. }
  9. window.search = function()
  10. {
  11. loadPage({method:'post', data: {keyword: $('#keyword').val()}, target: '#table-gitlab-browseproject>*'});
  12. }