Commit 52d45a81 authored by Caleb Crawley's avatar Caleb Crawley Committed by Neil Drumm
Browse files

Issue #3099925 by crawleyhost, drumm, Chi, shelane, apaderno: Display original...

Issue #3099925 by crawleyhost, drumm, Chi, shelane, apaderno: Display original project author instead of current node owner on project page
parent a86da1a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4595,7 +4595,7 @@ function drupalorg_preprocess_node(&$v) {
 */
function drupalorg_process_node(&$v) {
  if (project_node_is_project($v['node'])) {
    $v['submitted'] .= ', ' . t('updated !changed', ['!changed' => '<time pubdate datetime="' . $v['node']->changed . '">' . format_date($v['node']->changed, 'custom', 'j F Y') . '</time>']);
    $v['submitted'] = 'Created by ' .$v['name'] . t('!changed', ['!changed' => ' on <time pubdate datetime="' .$v['created']. '">' . format_date($v['created'], 'custom', 'j F Y') . '</time><br> Last updated on <time pubdate datetime="' . $v['node']->changed . '">' . format_date($v['node']->changed, 'custom', 'j F Y') . '</time>']);
  }
}

+0 −1
Original line number Diff line number Diff line
@@ -266,7 +266,6 @@ function drupalorg_user_field_group_info() {
      6 => 'drupalorg_documentation_guides',
      7 => 'drupalorg_user_issue_credit',
      8 => 'drupalorg_user_contributor_roles',
      9 => 'drupalorg_user_vetted',
    ),
    'format_type' => 'div',
    'format_settings' => array(
+1 −7
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ function drupalorg_user_strongarm() {
        ),
        'drupalorg_documentation_guides' => array(
          'default' => array(
            'weight' => '7',
            'weight' => '8',
            'visible' => TRUE,
          ),
        ),
@@ -109,12 +109,6 @@ function drupalorg_user_strongarm() {
            'visible' => TRUE,
          ),
        ),
        'drupalorg_user_vetted' => array(
          'default' => array(
            'weight' => '8',
            'visible' => TRUE,
          ),
        ),
      ),
    ),
  );