Sha256: fdaf8dd1ec8f12c4db3989713989b136dc002ca04a693f45ab9de14253d52ceb
Contents?: true
Size: 943 Bytes
Versions: 7
Compression:
Stored size: 943 Bytes
Contents
# -*- encoding : utf-8 -*- format :html do view :raw do |args| #ENGLISH prefix = "#{ Wagn.config.relative_url_root }/account" %{<span id="logging">#{ if Account.logged_in? ucard = Account.current %{ #{ link_to ucard.name, "#{ Wagn.config.relative_url_root }/#{ucard.cardname.url_key}", :id=>'my-card-link' } #{ if Account.create_ok? link_to 'Invite a Friend', "#{prefix}/invite", :id=>'invite-a-friend-link' end } #{ link_to 'Sign out', "#{prefix}/signout", :id=>'signout-link' } } else %{ #{ if Card.new(:type_code=>'account_request').ok? :create link_to 'Sign up', "#{prefix}/signup", :id=>'signup-link' end } #{ link_to 'Sign in', "#{prefix}/signin", :id=>'signin-link' } } end } </span>} end end
Version data entries
7 entries across 7 versions & 1 rubygems