Class: RSCM::Change

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/rscm_ext.rb

Constant Summary collapse

ICONS =
{
  MODIFIED => "/images/16x16/document_edit.png",
  DELETED => "/images/16x16/document_delete.png",
  ADDED => "/images/16x16/document_add.png",
  MOVED => "/images/16x16/document_exchange.png",
}

Instance Method Summary collapse

Instance Method Details

#iconObject



49
50
51
# File 'app/controllers/rscm_ext.rb', line 49

def icon
  ICONS[@status] || "/images/16x16/document_warning.png"
end