@@ -47,7 +47,7 @@ <h3 id="{{value.name}}-db-selector">{{value.name}}</h3>
47
47
</ div >
48
48
< ul class ="dbviewer-collection-list-{{value.name}} ">
49
49
{{#eachOfArray value.list}}
50
- < li data-db ="{{../value.name}} " data-collection ="{{#withItem ../value.collections key=value}}{{this}}{{/withItem}} " class ="collection-list-item searchable "> < a class ="dbviewer-link-in-collection-list " href =' javascript:void(0) ' > {{value}}</ a > </ li >
50
+ < li data-db ="{{../value.name}} " data-collection ="{{#withItem ../value.collections key=value}}{{this}}{{/withItem}} " class ="collection-list-item searchable "> < a class ="dbviewer-link-in-collection-list " href =href ="#/manage/db/{{../value.name}}/{{#withItem ../value.collections key=value}}{{this}}{{/withItem}}" > {{value}}</ a > </ li >
51
51
{{/eachOfArray}}
52
52
</ ul >
53
53
</ div >
@@ -169,7 +169,7 @@ <h3 id="{{value.name}}-db-selector">{{value.name}}</h3>
169
169
< table class ="jh-type-object jh-root " id ="dbviewer-collections ">
170
170
{{#eachOfArray data.collections}}
171
171
< tr >
172
- < th class ="jh-key jh-object-key "> < p > < strong > _id:</ strong > {{value._id}} < span class ="dbviewer-view-link " class ="jh-type-string "> < a data-db ="{{../db}} " data-collection ="{{../collection}} " data-id ="{{value._id}} " href =' javascript:void(0) ' class ="dbviewer-document-detail "> View</ a > </ span > </ p > </ th >
172
+ < th class ="jh-key jh-object-key "> < p > < strong > _id:</ strong > {{value._id}} < span class ="dbviewer-view-link " class ="jh-type-string "> < a data-db ="{{../db}} " data-collection ="{{../collection}} " data-id ="{{value._id}} " href =" #/manage/db/{{../db}}/{{../collection}}/{{#clearObjectId value._id}}{{/clearObjectId}} " class ="dbviewer-document-detail "> View</ a > </ span > </ p > </ th >
173
173
</ tr >
174
174
< tr >
175
175
< td class ="jh-value jh-object-value "> {{prettyJSON value}}</ td >
@@ -220,15 +220,15 @@ <h3 id="{{value.name}}-db-selector">{{value.name}}</h3>
220
220
< div class ="dbviewer-collection-list ">
221
221
{{#eachOfArray value.list}}
222
222
< div class ="dbviewer-collection-list-item ">
223
- < a class ="collection-list-item " data-db ="{{../../../db}} " data-collection ="{{#withItem ../value.collections key=value}}{{this}}{{/withItem}} " href ="javascript:void(0) "> {{value}}</ a >
223
+ < a class ="collection-list-item " data-db ="{{../../../db}} " data-collection ="{{#withItem ../value.collections key=value}}{{this}}{{/withItem}} " href ="#/manage/db/{{../../../db}}/{{#withItem ../value.collections key=value}}{{this}}{{/withItem}} "> {{value}}</ a >
224
224
</ div >
225
225
{{/eachOfArray}}
226
226
</ div >
227
227
{{/ifCond}}
228
228
{{/eachOfArray}}
229
229
{{else}}
230
230
{{#eachOfArray dbs}}
231
- < a href ="javascript:void(0) ">
231
+ < a href ="#/manage/db/{{value.name}} ">
232
232
< div class ="dbviewer-db-square db-detail " id ="{{value.name}}-box " data-db ="{{value.name}} ">
233
233
< img class ="dbviewer-box-svg " src ="./dbviewer/images/dbviewer/{{value.name}}.svg ">
234
234
< h3 class ="dbviewer-db-title " data-localize ="dbviewer.{{value.name}}-database "> </ h3 >
0 commit comments