Sha256: a20bfd2cfe20aa02f91c7efe93a24b51741b4b9b28e93ba2e7410d260ebc8590

Contents?: true

Size: 897 Bytes

Versions: 83

Compression:

Stored size: 897 Bytes

Contents

<%- d= Nokogiri::XML(service.xml) %>
<%- if service.code=="link" %>
#### งาน<%= service.name.split(':')[0] %>
  <%- if !(d/'node/node').blank? && (d/'node/node')[0]['TEXT'] %>
<%= uncomment (d/'node/node')[0]['TEXT'] %>
  <%- end %>
<%- else %>
#### งาน<%= service.name %>
  <%- md_file= "#{Rails.root}/app/views/#{service.module.code}/#{service.code}.md" %>

  <%= File.read md_file if File.exist?(md_file) %>
  <%- j= 1 %>
  <%- (d/'/node/node').each do |activity| %>
    <%- next unless (activity/'icon')[0] %>
    <%- action= freemind2action((activity/'icon')[0]['BUILTIN']) %>
    <%- next unless (action=='form') %>
    <%= render :partial=>'jinda/activity.md', :locals=>{:activity=>activity, :j=>j, :service=>service}  %>
    <%- j= j + 1 %>
  <%- end %>
<%- end %>

<!--%= #code_div File.read(model_file) %-->

<!--%= # code_div model.camelize.constantize.columns.to_yaml %-->

Version data entries

83 entries across 80 versions & 4 rubygems

Version Path
jinda-0.7.0.3 app/views/jinda/_service.md
jinda-0.7.0.2 app/views/jinda/_service.md
jinda-0.7.0.1 app/views/jinda/_service.md
jinda-0.7.0 app/views/jinda/_service.md
jinda-0.6.9 app/views/jinda/_service.md
jinda-0.6.8 app/views/jinda/_service.md
jinda-0.6.5 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.6.4 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.6.3 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.6.2 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.6.1 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda_engine-0.6.0 app/views/jinda_engine/jinda/_service.md
jinda-0.6.0 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.9 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.8 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.7 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.6 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.5 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.4 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.5.3 lib/generators/jinda/templates/app/views/jinda/_service.md