-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated .pot file * Added screenshots * Switched to multi sass files for css * Some extra refactoring
- Loading branch information
Showing
11 changed files
with
312 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
admin/partials/support-hours-admin-configure-plugin-notice.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<p> | ||
<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo admin_url( 'admin.php?page=support-hours-settings' ); ?>"> | ||
<?php _e( 'Configure plugin!', $this->plugin_name); ?> | ||
</a> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php if ($pagenow == 'admin.php?page=support-hours'): ?> | ||
<h3><?php _e('Activities', $this->plugin_name); ?></h3> | ||
<?php endif; ?> | ||
<table class="worktable" width="100%"> | ||
<thead> | ||
<tr> | ||
<th width="20%"><?php _e('Date', $this->plugin_name); ?></th> | ||
<th width="50%"><?php _e('Description', $this->plugin_name); ?></th> | ||
<th width="30%"><?php _e('Time used', $this->plugin_name); ?></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php | ||
$i = 0; | ||
foreach ( array_reverse($workFields) as $field ) { ?> | ||
<tr> | ||
<td><?php if(!empty($field['used'])) echo $field['date'] ?></td> | ||
<td><?php if(!empty($field['used'])) echo $field['description'] ?></td> | ||
<td><?php if(!empty($field['used'])) echo $field['used'] ?></td> | ||
</tr> | ||
<?php | ||
$i++; | ||
if ($i >= 5){ | ||
break; | ||
} | ||
} | ||
?> | ||
</tbody> | ||
</table> | ||
<div class="total"> | ||
<span class="bold"><?php _e('Total', $this->plugin_name); ?></span> | ||
<span>: <?php echo AddTime($workFields); ?></span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Support hours\n" | ||
"POT-Creation-Date: 2017-10-06 04:25+0200\n" | ||
"PO-Revision-Date: 2017-10-06 04:55+0200\n" | ||
"POT-Creation-Date: 2017-10-31 10:02+0100\n" | ||
"PO-Revision-Date: 2017-10-31 10:11+0100\n" | ||
"Last-Translator: \n" | ||
"Language-Team: Erik van der Bas <[email protected]>\n" | ||
"Language: nl_NL\n" | ||
|
Oops, something went wrong.