Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drupal: Changed how the host_and_work_stats times are displayed. #3092

Merged
merged 1 commit into from
Apr 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2000,12 +2000,47 @@ function work_and_host_stats_views_default_views() {
'hide_alter_empty' => 1,
'date_format' => 'custom',
'custom_date_format' => 'j M Y G:i:s T',
'exclude' => 0,
'exclude' => 1,
'id' => 'create_time',
'table' => 'host',
'field' => 'create_time',
'relationship' => 'none',
),
'phpcode_6' => array(
'label' => 'Created',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo date(\'j M Y G:i:s T\', $data->host_create_time);
?>',
'exclude' => 0,
'id' => 'phpcode_6',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'total_credit' => array(
'label' => 'Total credit',
'alter' => array(
Expand Down Expand Up @@ -5640,7 +5675,7 @@ Cross-project stats:
$handler->override_option('path', 'account/%/computers/active');
$handler->override_option('menu', array(
'type' => 'default tab',
'title' => bts('Active in past 30 days', array(), NULL, 'boinc:account-host-list'),
'title' => 'Active in past 30 days',
'description' => 'Show only computers that have been active in the past month',
'weight' => '0',
'name' => 'navigation',
Expand All @@ -5656,7 +5691,7 @@ Cross-project stats:
$handler->override_option('path', 'account/%/computers/all');
$handler->override_option('menu', array(
'type' => 'tab',
'title' => bts('All computers', array(), NULL, 'boinc:account-host-list'),
'title' => 'All computers',
'description' => 'Show all computers associated with the account',
'weight' => '1',
'name' => 'navigation',
Expand Down Expand Up @@ -8933,7 +8968,7 @@ else {
'hide_alter_empty' => 1,
'date_format' => 'custom',
'custom_date_format' => 'j M Y G:i:s T',
'exclude' => 0,
'exclude' => 1,
'id' => 'create_time',
'table' => 'result',
'field' => 'create_time',
Expand Down Expand Up @@ -8967,7 +9002,7 @@ else {
'hide_alter_empty' => 1,
'date_format' => 'custom',
'custom_date_format' => 'j M Y G:i:s T',
'exclude' => 0,
'exclude' => 1,
'id' => 'sent_time',
'table' => 'result',
'field' => 'sent_time',
Expand Down Expand Up @@ -9001,7 +9036,7 @@ else {
'hide_alter_empty' => 1,
'date_format' => 'custom',
'custom_date_format' => 'j M Y G:i:s T',
'exclude' => 0,
'exclude' => 1,
'id' => 'report_deadline',
'table' => 'result',
'field' => 'report_deadline',
Expand Down Expand Up @@ -9035,12 +9070,155 @@ else {
'hide_alter_empty' => 1,
'date_format' => 'custom',
'custom_date_format' => 'j M Y G:i:s T',
'exclude' => 0,
'exclude' => 1,
'id' => 'received_time',
'table' => 'result',
'field' => 'received_time',
'relationship' => 'none',
),
'phpcode' => array(
'label' => 'Created',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo date(\'j M Y G:i:s T\', $data->result_create_time);
?>',
'exclude' => 0,
'id' => 'phpcode',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'phpcode_1' => array(
'label' => 'Sent',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo date(\'j M Y G:i:s T\', $data->result_sent_time);
?>
',
'exclude' => 0,
'id' => 'phpcode_1',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'phpcode_8' => array(
'label' => 'Report deadline',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo date(\'j M Y G:i:s T\', $data->result_report_deadline);
?>
',
'exclude' => 0,
'id' => 'phpcode_8',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'phpcode_9' => array(
'label' => 'Received',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo date(\'j M Y G:i:s T\', $data->result_received_time);
?>
',
'exclude' => 0,
'id' => 'phpcode_9',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'server_state' => array(
'label' => 'Server state',
'alter' => array(
Expand Down Expand Up @@ -10852,8 +11030,10 @@ else {
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
Expand All @@ -10868,14 +11048,50 @@ else {
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'date_format' => 'custom',
'custom_date_format' => 'j M Y G:i:s T',
'exclude' => 0,
'exclude' => 1,
'id' => 'create_time',
'table' => 'workunit',
'field' => 'create_time',
'relationship' => 'none',
),
'phpcode_2' => array(
'label' => 'Created',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
echo date(\'j M Y G:i:s T\', $data->workunit_create_time);
?>',
'exclude' => 0,
'id' => 'phpcode_2',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'canonical_resultid' => array(
'label' => 'Canonical result',
'alter' => array(
Expand Down