$string['nodatatoevaluate'] = 'There is no data to evaluate the model';
$string['nodatatopredict'] = 'No new elements to get predictions for';
$string['nodatatotrain'] = 'There is no new data that can be used for training';
+$string['noinvalidanalysables'] = 'This site does not contain any invalid analysable element.';
$string['notdefined'] = 'Not yet defined';
$string['pluginname'] = 'Analytic models';
$string['predictionresults'] = 'Prediction results';
<div class="box">
<h3>{{#str}}modelinvalidanalysables, tool_analytics, {{modelname}}{{/str}}</h3>
<div>{{#str}}invalidanalysablesinfo, tool_analytics{{/str}}</div>
- <div class="m-t-2 m-b-1">
- <span>{{#prev}}{{> core/single_button}}{{/prev}}</span>
- <span>{{#next}}{{> core/single_button}}{{/next}}</span>
- </div>
- <table class="generaltable fullwidth">
- <caption class="accesshide">{{#str}}invalidanalysablestable, tool_analytics{{/str}}</caption>
- <thead>
- <tr>
- <th scope="col">{{#str}}name{{/str}}</th>
- <th scope="col">{{#str}}invalidtraining, tool_analytics{{/str}}</th>
- <th scope="col">{{#str}}invalidprediction, tool_analytics{{/str}}</th>
- </tr>
- </thead>
- <tbody>
- {{#analysables}}
- <tr>
- <td>{{{url}}}</td>
- <td>{{validtraining}}</td>
- <td>{{validprediction}}</td>
- </tr>
- {{/analysables}}
- </tbody>
- </table>
- <div class="m-t-1 m-b-2">
- <span>{{#prev}}{{> core/single_button}}{{/prev}}</span>
- <span>{{#next}}{{> core/single_button}}{{/next}}</span>
- </div>
+ {{#noanalysables}}
+ <div class="m-t-2 m-b-1">
+ {{> core/notification_info}}
+ </div>
+ {{/noanalysables}}
+ {{#analysables}}
+ <div class="m-t-2 m-b-1">
+ <span>{{#prev}}{{> core/single_button}}{{/prev}}</span>
+ <span>{{#next}}{{> core/single_button}}{{/next}}</span>
+ </div>
+ <table class="generaltable fullwidth">
+ <caption class="accesshide">{{#str}}invalidanalysablestable, tool_analytics{{/str}}</caption>
+ <thead>
+ <tr>
+ <th scope="col">{{#str}}name{{/str}}</th>
+ <th scope="col">{{#str}}invalidtraining, tool_analytics{{/str}}</th>
+ <th scope="col">{{#str}}invalidprediction, tool_analytics{{/str}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{#analysables}}
+ <tr>
+ <td>{{{url}}}</td>
+ <td>{{validtraining}}</td>
+ <td>{{validprediction}}</td>
+ </tr>
+ {{/analysables}}
+ </tbody>
+ </table>
+ <div class="m-t-1 m-b-2">
+ <span>{{#prev}}{{> core/single_button}}{{/prev}}</span>
+ <span>{{#next}}{{> core/single_button}}{{/next}}</span>
+ </div>
+ {{/analysables}}
</div>