Skip to content

Instantly share code, notes, and snippets.

@retorquere
Created June 7, 2010 11:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save retorquere/428533 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'prawn'
require 'prawn/measurement_extensions'
require 'net/http'
require 'rexml/document'
require 'yaml'
module CardsHelper
#include Redmine::I18n
include ApplicationHelper
@retorquere
Copy link
Author

module CardsHelper
include ApplicationHelper

class TaskboardCards

    def self.selected_label
        return nil if not Setting.plugin_redmine_backlogs[:card_spec]
        return LABELS[Setting.plugin_redmine_backlogs[:card_spec]]
    end

@retorquere
Copy link
Author

require 'rubygems'
require 'prawn'
require 'prawn/measurement_extensions'
require 'net/http'
require 'rexml/document'

require 'yaml'

module CardsHelper
include ApplicationHelper

class TaskboardCards

    def self.selected_label
        return nil if not Setting.plugin_redmine_backlogs[:card_spec]
        return LABELS[Setting.plugin_redmine_backlogs[:card_spec]]
    end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment