Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bochoven committed May 19, 2020
1 parent 2951b7d commit fa936b2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"supported_no_applecare": "Supported until __date__. No Applecare",
"supported_until": "Supported until __date__",
"unregistered": "Unregistered",
"update_info": "Update warranty information",
"warranty": "Warranty",
"warrantysupport": {
"title": "Counts Supported, Vintage, Obsolete, and Unknown support status",
Expand Down
2 changes: 1 addition & 1 deletion provides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ widgets:
hardware_warranty: { view: hardware_warranty_widget }
warranty: { view: warranty_widget }
admin_pages:
admin: { i18n: warranty.warranty }
admin: { i18n: warranty.update_info }
5 changes: 3 additions & 2 deletions views/admin_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

<?php endif?>

<p class="help-block">CSV file format (you also need the header):
<p class="help-block">CSV file format (header required):
<pre>
"serial_number","purchase_date","end_date"
"3X6RHPJ3P7QM","2016-06-09","2020-06-09"
</pre>
"CLJW1VCQMD6N","2020-04-14","2024-04-14"
"8WSF8O4BHDNK","2019-10-18","2023-10-18"</pre>
</p>

<form action="" method="post" enctype="multipart/form-data">
Expand Down
1 change: 0 additions & 1 deletion views/warranty_detail_widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
case 'Unregistered serialnumber':
cls = 'text-warning';
msg = i18n.t("warranty.unregistered");
msg = msg + ' <a target="_blank" href="https://selfsolve.apple.com/RegisterProduct.do?productRegister=Y&amp;country=USA&amp;id='+data.serialNumber+'">Register</a>'
break;
case 'Expired':
cls = 'text-danger';
Expand Down
1 change: 0 additions & 1 deletion views/warranty_listing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ table:
- column: machine.computer_name
i18n_header: listing.computername
formatter: clientDetail
tab_link: munkireportinfo-tab
- column: reportdata.serial_number
i18n_header: serial
- {i18n_header: username, column: reportdata.long_username}
Expand Down

0 comments on commit fa936b2

Please sign in to comment.