Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Commit 076e753

Browse files
committed
Relabel Comment as Repair Comments, and increase default textarea size
1 parent 715ef04 commit 076e753

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.htaccess

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<IfModule mod_rewrite.c>
22
RewriteEngine On
3-
RewriteCond %{HTTPS} off
4-
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [NE,L,R=301]
3+
##RewriteCond %{HTTPS} off
4+
##RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [NE,L,R=301]
55
RewriteRule ^(craft)($|/) - [L]
66
RewriteRule ^$ public/ [L]
77
RewriteRule ^map$ public/map/index.php [L]
88
RewriteRule (.*) public/$1 [L]
9-
</IfModule>
9+
</IfModule>

app/view/party/manage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
<th><?php _t("Category");?>
181181
<i class="fa fa-question-circle" data-toggle="popover" title="Device Category" data-html="true" data-content="<p>This is the category that the device best fits into. You can find more information on the different categories <a href='https://therestartproject.org/welcome-to-our-community-space/#What_if_a_device_does_not_fit_in_any_of_the_categories'>here</a>.</p><p>If a device does not fit in any of the categories, you have the option of choosing 'None of the above' at the end of the drop-down menu. You will then be encouraged to estimate the weight of the device. Please use this option only as a last resort.</p>"></i>
182182
</th>
183-
<th><?php _t("Comment");?> <i class="fa fa-question-circle" data-toggle="popover" title="Information about the repair attempt" data-html="true" data-content="<p>Please try and provide as much information as you can on the fault and on the solution or advice given (if any). Information such as: what the fault was; what was the cause of the fault; what the solution was or could be. Any further information that you think might be useful can be provided here as well.</p><p>For example: <br/><em>Cracked screen. The phone had been dropped. Recommended purchasing replacement screen and attending next party.</em></p><p>or</p><p><em>Would not turn on. Fuse had blown. Replaced fuse.</em></p>"></i></th>
183+
<th><?php _t("Repair Comments");?> <i class="fa fa-question-circle" data-toggle="popover" title="Information about the repair attempt" data-html="true" data-content="<p>Please try and provide as much information as you can on the fault and on the solution or advice given (if any). Information such as: what the fault was; what was the cause of the fault; what the solution was or could be. Any further information that you think might be useful can be provided here as well.</p><p>For example: <br/><em>Cracked screen. The phone had been dropped. Recommended purchasing replacement screen and attending next party.</em></p><p>or</p><p><em>Would not turn on. Fuse had blown. Replaced fuse.</em></p>"></i></th>
184184
<?php if (featureIsEnabled(FEATURE__DEVICE_PHOTOS)): ?>
185185
<th style="width: 280px !important;"><?php _t("Image");?> <i class="fa fa-question-circle" data-toggle="popover" title="{REPLACE TITLE}" data-content="{REPLACE CONTENT}"></i></th>
186186
<?php endif ?>
@@ -226,7 +226,7 @@
226226
</div>
227227
</td>
228228
<td>
229-
<textarea class="form-control" id="device[<?php echo $i; ?>][problem]" name="device[<?php echo $i; ?>][problem]"><?php echo $devices[$i-1]->problem; ?></textarea>
229+
<textarea rows="6" class="form-control" id="device[<?php echo $i; ?>][problem]" name="device[<?php echo $i; ?>][problem]"><?php echo $devices[$i-1]->problem; ?></textarea>
230230
</td>
231231

232232
<?php if (featureIsEnabled(FEATURE__DEVICE_PHOTOS)): ?>
@@ -377,7 +377,7 @@ class="repairable"
377377
</div>
378378
</td>
379379
<td>
380-
<textarea class="form-control" id="device[<?php echo $i; ?>][problem]" name="device[<?php echo $i; ?>][problem]"></textarea>
380+
<textarea rows="6" class="form-control" id="device[<?php echo $i; ?>][problem]" name="device[<?php echo $i; ?>][problem]"></textarea>
381381
</td>
382382

383383
<?php if (featureIsEnabled(FEATURE__DEVICE_PHOTOS)): ?>

public/dist/js/fixometer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ $('.device-image-delete').click(function(e){
8686
'</div>' +
8787
'</td>' +
8888
'<td>' +
89-
'<textarea class="form-control" placeholder="Try to provide fault; cause of fault; solution/advice given" id="device[' + n +'][problem]" name="device[' + n +'][problem]"></textarea>' +
89+
'<textarea rows="6" class="form-control" placeholder="Information about the repair. Where possible, try to provide: fault; cause of fault; and solution/advice given" id="device[' + n +'][problem]" name="device[' + n +'][problem]"></textarea>' +
9090
'</td>';
9191
if (feature__device_photos === true) {
9292
var ageInputClass = feature__device_age ? 'text' : 'hidden';

0 commit comments

Comments
 (0)