close

  
<div><p>   
  </p>
    
    ${t.style()}
    ${t.jquery()}   
    
    <div id="header">
      <h1>
        <a href="/index">Home</a> &gt;
        <a href="/id?id=%24%7Bitem%5B'/type/type/domain'%5D%5B'id'%5D%7D">${item['/type/type/domain']['name']}</a>
        &gt; ${item['name']} (${item['id']})
      </h1>
    </div>
    
    <div id="body">
      
      <h2>Topics (${util.ppn(data['total']['new'])})
        <span class="staff-bots">
        </span></h2>
      
      <div id="placeholder-new"></div>
      <br><h2>Facts (${util.ppn(data['total']['edits'])})
        <span class="staff-bots">
          Facts of properties of this type.
        </span></h2>
      <div id="placeholder-edits"></div>
      <br><h2>Topics with images (${parseInt(data['has_image'] * 100 / data['total']['new'])}%)</h2>
      <div id="placeholder-image"></div>
      
      
      <br><h2>Topics with articles (${parseInt(data['has_article'] * 100 / data['total']['new'])}%)</h2>
      <div id="placeholder-article"></div>
      
      <div class="section">
        <h2>Last Week (${util.ppn(data['week']['total_edits'])} edits)</h2>
        <br>All contributing users for the past 7 days.
        <table><tr><th class="topicstableheader" colspan="2">user</th>
            <th class="topicstableheader">edits</th>
          </tr><tr><td>
                <img src="http://www.freebase.com/api/trans/image_thumb%24%7Buser.id%7D?maxwidth=30&amp;maxheight=30&amp;mode=fillcrop"></td>
              <td><a href="/user?id=%24%7Buser.id%7D">${util.split_id(user.id)[1]}</a></td>
              <td>${(user.v * 100 / data['week']['total_edits']).toFixed(2)}%</td>
            </tr></table><h2>Top Users</h2>
        <br>Users who contributed more than 1% of total facts (${util.ppn(parseInt(data['total']['edits'] / 100))} facts)
        
        <table><tr><th class="topicstableheader" colspan="2">user</th>
            <th class="topicstableheader">edits</th>
          </tr><tr><td>
                <img src="http://www.freebase.com/api/trans/image_thumb%24%7Buser.id%7D?maxwidth=30&amp;maxheight=30&amp;mode=fillcrop"></td>
              <td><a href="/user?id=%24%7Buser.id%7D">${util.split_id(user.id)[1]}</a></td>
              <td>${parseInt(user.v * 100 / data['total']['edits'])}%</td>
            </tr></table></div>
      
      <div class="section">
        
        <h2 name="schema">Properties</h2>
        <br>Stats on properties of this type.
        <table><tr><th class="topicstableheader">id</th>
            <th class="topicstableheader">instances</th>
            <th class="topicstableheader">% of topics</th>
            
          </tr><tr><td>
                <a href="/id?id=%24%7Bd.id%7D">${d['id']}</a>
              </td>
              <td>${util.ppn(d['v'])}</td>
              <td>${parseInt(unique_instances[d['id']]*100/data['total']['new'])}%</td>
              
            </tr></table></div>
      
      
      
    </div>
    
    <div>
      <h2>Sorry, there is no data available for the id specified.</h2>
    </div>
    
    <div id="footer">
      data: <a href="%24%7Burl%7D">${url}</a> | view on <a href="http://www.freebase.com/view%24%7Bid%7D">freebase.com</a>
    </div>    
    
    </div>

Comments

Hide