Commit 99cdd64b authored by Nedjo Rogers's avatar Nedjo Rogers Committed by Neil Drumm
Browse files

[#1404500] Implement nominations / voting system for the community elections

parent 6fbd2b4f
Loading
Loading
Loading
Loading
+2 −2
Changes for features/association_at_large_elections/association_at_large_elections.features.content.inc: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ function association_at_large_elections_content_default_fields() {
      'default_value_php' => NULL,
      'label' => 'Experience',
      'weight' => '-2',
      'description' => 'Do you have previous board, fundraising, or governance experience? Tell us about your qualifications.',
      'description' => 'Do you have previous board, fundraising, or governance experience? Tell us about your experience that will be valuable in serving on the Drupal Association board.',
      'type' => 'text_textarea',
      'module' => 'text',
    ),
@@ -201,7 +201,7 @@ function association_at_large_elections_content_default_fields() {
      'default_value_php' => NULL,
      'label' => 'Motivation',
      'weight' => '-3',
      'description' => 'Why are you applying for a board position? What initiatives do you hope to help drive, or perspectives are you going to try and represent?',
      'description' => 'Why are you applying for a board position? What initiatives do you hope to help drive, or what perspectives are you going to try and represent?',
      'type' => 'text_textarea',
      'module' => 'text',
    ),
+4 −4
Changes for features/association_at_large_elections/association_at_large_elections.features.inc: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -6,15 +6,15 @@
function association_at_large_elections_node_info() {
  $items = array(
    'nomination' => array(
      'name' => t('Nomination'),
      'name' => t('Drupal Association At Large director nomination'),
      'module' => 'features',
      'description' => t('A nomination for the at-large elections.'),
      'description' => t('Add yourself as a candidate for the 2012 Drupal Association At Large director elections.'),
      'has_title' => '1',
      'title_label' => t('Name'),
      'title_label' => t('Full name'),
      'has_body' => '0',
      'body_label' => '',
      'min_word_count' => '0',
      'help' => '',
      'help' => t('Please provide some information about yourself that will help Drupal community members understand what you would bring to the Drupal Association board. The information you put here will be displayed on association.drupal.org as part of the information provided to the Drupal community. <em>Note</em>: the following information from your drupal.org profile will be automatically displayed along with your candidate profile: your drupal.org user name, linking to your drupal.org profile page; Job title; Current company or organization; and Country.'),
    ),
  );
  return $items;
+74 −0
Changes for features/association_at_large_elections/association_at_large_elections.views_default.inc: 74 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -567,6 +567,80 @@ function association_at_large_elections_views_default_views() {
      'relationship' => 'none',
    ),
  ));
  $handler->override_option('arguments', array(
    'nid' => array(
      'default_action' => 'not found',
      'style_plugin' => 'default_summary',
      'style_options' => array(),
      'wildcard' => 'all',
      'wildcard_substitution' => 'All',
      'title' => '',
      'breadcrumb' => '',
      'default_argument_type' => 'fixed',
      'default_argument' => '',
      'validate_type' => 'node',
      'validate_fail' => 'not found',
      'break_phrase' => 0,
      'not' => 0,
      'id' => 'nid',
      'table' => 'node',
      'field' => 'nid',
      'validate_user_argument_type' => 'uid',
      'validate_user_roles' => array(
        2 => 0,
        3 => 0,
        6 => 0,
        5 => 0,
        10 => 0,
        19 => 0,
        20 => 0,
      ),
      'override' => array(
        'button' => 'Use default',
      ),
      'relationship' => 'none',
      'default_options_div_prefix' => '',
      'default_taxonomy_tid_term_page' => 0,
      'default_taxonomy_tid_node' => 0,
      'default_taxonomy_tid_limit' => 0,
      'default_taxonomy_tid_vids' => array(
        4 => 0,
        13 => 0,
        1 => 0,
      ),
      'default_argument_user' => 0,
      'default_argument_fixed' => '',
      'default_argument_php' => '',
      'validate_argument_node_type' => array(
        'nomination' => 'nomination',
        'blog' => 0,
        'association_sponsor' => 0,
        'association_sponsorship' => 0,
        'association_membership_benefit' => 0,
        'project' => 0,
        'decisions_ranking' => 0,
        'product' => 0,
        'association_sponsorship_level' => 0,
        'association_training' => 0,
        'book' => 0,
        'job' => 0,
        'page' => 0,
        'story' => 0,
        'webform' => 0,
      ),
      'validate_argument_node_access' => 0,
      'validate_argument_nid_type' => 'nid',
      'validate_argument_vocabulary' => array(
        4 => 0,
        13 => 0,
        1 => 0,
      ),
      'validate_argument_type' => 'tid',
      'validate_argument_transform' => 0,
      'validate_user_restrict_roles' => 0,
      'validate_argument_php' => '',
    ),
  ));
  $handler->override_option('style_plugin', 'default');
  $handler->override_option('style_options', array(
    'grouping' => '',