mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 18:07:57 +00:00
changes wording on compliance tab. adds page count to dataset-table-pager component. removes index.scala.html
This commit is contained in:
parent
5ced597fc7
commit
8e41333b6c
@ -15,7 +15,6 @@ package controllers;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import dao.FlowsDAO;
|
||||
import dao.MetricsDAO;
|
||||
import dao.UserDAO;
|
||||
@ -26,7 +25,6 @@ import play.mvc.Result;
|
||||
import play.Logger;
|
||||
import play.mvc.Security;
|
||||
import utils.Tree;
|
||||
import views.html.*;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>WhereHows by LinkedIn®</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/assets/assets/vendor.css">
|
||||
<link rel="stylesheet" href="/assets/assets/wherehows-web.css">
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<script src="/assets/assets/vendor.js"></script>
|
||||
<script src="/assets/assets/wherehows-web.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -12,7 +12,13 @@ export default Component.extend({
|
||||
|
||||
classNames: ['nacho-pager'],
|
||||
|
||||
pages: computed('data', 'limit', function() {
|
||||
pages: computed('numberOfPages', function () {
|
||||
const numberOfPages = get(this, 'numberOfPages');
|
||||
|
||||
return [...Array(numberOfPages).keys()].map(x => x + 1);
|
||||
}),
|
||||
|
||||
numberOfPages: computed('data', 'limit', function () {
|
||||
const { data, limit: rowsPerPage = 1 } = getProperties(
|
||||
this,
|
||||
'data',
|
||||
@ -26,7 +32,7 @@ export default Component.extend({
|
||||
needsExtraPage && ++numberOfPages;
|
||||
}
|
||||
|
||||
return [...Array(numberOfPages).keys()].map(x => x + 1);
|
||||
return numberOfPages;
|
||||
}),
|
||||
|
||||
actions: {
|
||||
|
||||
@ -39,8 +39,8 @@
|
||||
of
|
||||
<strong>3</strong>
|
||||
</span>
|
||||
Can any fields in this dataset's schema be used to identify a
|
||||
member?
|
||||
Do fields in the schema contain the ID of a member (e.g. id, urn
|
||||
etcetera)?
|
||||
</p>
|
||||
</header>
|
||||
</section>
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
selected=page
|
||||
class="nacho-pager__select"
|
||||
selectionDidChange="changePage"}}
|
||||
<p class="nacho-pager__desc"> of {{numberOfPages}}</p>
|
||||
</span>
|
||||
|
||||
<span class="nacho-pager__section">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user