Sha256: 905928cd5a97fe96849bc8694121fae445fff6cd67ca3a884b2fb50b15f64575

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

  <% @page_heading = "User: #{@user.name}" %>

  <% content_for('tasks') do %>
    <%= task_new 'Create new user' %>
    <%= task_edit 'Edit this user', @user.id %>
  <% end %> 

  <div class="form">	
    <label>Name:</label> <span class="static"><%=h @user.name %></span><br/>
    <label>Login:</label> <span class="static"><%=h @user.login %></span><br/>
    <label>Email:</label> <span class="static"><%=h @user.email %></span><br/>
    <label>Jabber:</label> <span class="static"><%=h @user.jabber %></span><br/>
    <label>Notify via email:</label> <span class="static"><%= @user.notify_via_email? ? "yes" : "no" %></span><br/>
    <label>Notify via jabber:</label> <span class="static"><%= @user.notify_via_jabber? ? "yes" : "no" %></span><br/>
    <label>Notify on new articles:</label> <span class="static"><%= @user.notify_on_new_articles? ? "yes" : "no" %></span><br/>
    <label>Notify on new comments:</label> <span class="static"><%= @user.notify_on_comments? ? "yes" : "no" %></span><br/>
    
  </div>


  <div class="list">
    <h2>User's articles</h2>
    <%= render :partial => 'admin/content/articles' %>
  </div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typo-4.0.1 app/views/admin/users/show.rhtml
typo-4.0.2 app/views/admin/users/show.rhtml
typo-4.0.3 app/views/admin/users/show.rhtml