| 
									
										
										
										
											2012-10-09 06:47:16 +00:00
										 |  |  | module Admin::ItemsHelper | 
					
						
							| 
									
										
										
										
											2013-07-02 08:46:44 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |   def get_item_module_infos(item) | 
					
						
							|  |  |  |     if module_app = item.module_app | 
					
						
							|  |  |  |       app = OrbitApp::Module::Registration.find_by_key(module_app.key) | 
					
						
							|  |  |  |       [t(app.get_label_i18n), (app.get_icon_class rescue 'icons-daniel-bruce-2')] | 
					
						
							|  |  |  |     else | 
					
						
							|  |  |  |       [t(:no_app), 'icons-daniel-bruce-2'] | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-11 02:00:45 +00:00
										 |  |  | end |