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.8.0 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.8.0 test/dummy/app/views/jinda/_service.md
jinda-0.7.7.4 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.7.7.4 test/dummy/app/views/jinda/_service.md
jinda-0.7.7.3 test/dummy/app/views/jinda/_service.md
jinda-0.7.7.3 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.7.7.2 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.7.7.1 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda_mind-1.0.0 lib/generators/jinda/templates/app/views/jinda/_service.md
jinda-0.7.7 app/views/jinda/_service.md
jinda-0.7.6 app/views/jinda/_service.md
jinda-0.7.5.5 app/views/jinda/_service.md
jinda-0.7.5.4 app/views/jinda/_service.md
jinda-0.7.5.3 app/views/jinda/_service.md
jinda-0.7.5.2 app/views/jinda/_service.md
jinda-0.7.5.0 app/views/jinda/_service.md
jinda-0.7.3 app/views/jinda/_service.md
jinda-0.7.2 app/views/jinda/_service.md
jinda-0.7.1 app/views/jinda/_service.md
jinda-0.7.0.4 app/views/jinda/_service.md