Sha256: b7e8f64dbee670d941b6ea8de4cb2849c89602c01bea3be60225be29ab259cae
Contents?: true
Size: 1.38 KB
Versions: 47
Compression:
Stored size: 1.38 KB
Contents
<% git = Daddy::Git.new title = Daddy.config.cucumber.title.sub(' ', '_').downcase -%> <script> $(document).ready(function() { $('.contents').css('margin-left', $('#menu').width()); $('.sprint').mouseover(function() { $(this).css('background', '#F0F8FF').css('cursor', 'pointer'); }).mouseout(function() { $(this).css('background', '#FFFFFF'); }).click(function() { $(this).nextAll('.sub_menu').toggle(250); }); $('.current').click(); }); </script> <% git.branches.each do |b| %> <ol> <% if b == 'master' %> <li class="master"> <%= '最新' %> </li> <li class="sub_menu"> <a href="/<%= title %>/">開発日記</a> </li> <li class="sub_menu"> <a href="/<%= title %>/master/spec/">仕様書</a> </li> <li class="sub_menu"> <a href="/<%= title %>/master/coverage/rcov/" target="_blank">カバレッジ</a> </li> <% else %> <li class="sprint <%= 'current' if b == git.current_branch %>"> <%= 'スプリント ' + b.gsub(/[a-zA-Z]*/, '') %> </li> <li class="sub_menu" style="display: none;"> <a href="/<%= title %>/<%= b %>/spec/">仕様書</a> </li> <li class="sub_menu" style="display: none;"> <a href="/<%= title %>/<%= b %>/coverage/rcov/" target="_blank">カバレッジ</a> </li> <% end %> </ol> <% end %>
Version data entries
47 entries across 47 versions & 1 rubygems