Commit 05c49b2e authored by Marco Villegas's avatar Marco Villegas
Browse files

feature #976130: Add # of lines added/removed to commitlog views.

parent d153eba4
Loading
Loading
Loading
Loading
+70 −0
Changes for commitlog/includes/commitlog.views_default.inc: 70 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -489,6 +489,76 @@ function commitlog_views_default_views() {
      'field' => 'nothing',
      'relationship' => 'none',
    ),
    'line_changes_added' => array(
      'label' => 'Lines Added',
      'alter' => array(
        'alter_text' => 0,
        'text' => '',
        'make_link' => 0,
        'path' => '',
        'link_class' => '',
        'alt' => '',
        '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,
      'set_precision' => FALSE,
      'precision' => 0,
      'decimal' => '.',
      'separator' => ',',
      'prefix' => '',
      'suffix' => '',
      'exclude' => 0,
      'id' => 'line_changes_added',
      'table' => 'versioncontrol_item_revisions',
      'field' => 'line_changes_added',
      'relationship' => 'none',
    ),
    'line_changes_removed' => array(
      'label' => 'Lines Removed',
      'alter' => array(
        'alter_text' => 0,
        'text' => '',
        'make_link' => 0,
        'path' => '',
        'link_class' => '',
        'alt' => '',
        '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,
      'set_precision' => FALSE,
      'precision' => 0,
      'decimal' => '.',
      'separator' => ',',
      'prefix' => '',
      'suffix' => '',
      'exclude' => 0,
      'id' => 'line_changes_removed',
      'table' => 'versioncontrol_item_revisions',
      'field' => 'line_changes_removed',
      'relationship' => 'none',
    ),
  ));
  $handler->override_option('arguments', array(
    'vc_op_id' => array(