##// END OF EJS Templates
fix(encryptor): use a failsafe mechanism of detecting old algo for encryption to NOT crash the app when switching to fernet
fix(encryptor): use a failsafe mechanism of detecting old algo for encryption to NOT crash the app when switching to fernet

File last commit:

r5039:5cad06d1 default
r5363:7bfb02ec default
Show More
my_account_watched.mako
50 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Your Watched Repositories')}</h3>
</div>
<div class="panel-body">
<input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" placeholder="${_('quick filter...')}" value=""/>
<div id="repos_list_wrap">
<table id="repo_list_table" class="display"></table>
</div>
</div>
</div>
<script>
$(document).ready(function() {
my-account: owner/watched repos are now loaded only using DB queries....
r4153 // repo list
$repoListTable = $('#repo_list_table');
templating: use .mako as extensions for template files.
r1282
templates: use better variables names in loading ajax data
r5039 var watched_repos_data = ${c.data|n};
my-account: owner/watched repos are now loaded only using DB queries....
r4153 $repoListTable.DataTable({
templates: use better variables names in loading ajax data
r5039 data: watched_repos_data,
templating: use .mako as extensions for template files.
r1282 dom: 'rtp',
pageLength: ${c.visual.admin_grid_items},
order: [[ 0, "asc" ]],
columns: [
{ data: {"_": "name",
"sort": "name_raw"}, title: "${_('Name')}", className: "td-componentname" },
],
language: {
paginate: DEFAULT_GRID_PAGINATION,
emptyTable: _gettext("No repositories available yet.")
},
});
my-account: owner/watched repos are now loaded only using DB queries....
r4153 // filter
$('#q_filter').on('keyup',
$.debounce(250, function() {
$repoListTable.DataTable().search(
$('#q_filter').val()
).draw();
})
);
templating: use .mako as extensions for template files.
r1282
});
</script>