<commit_before><%
    if @user
        existing_track = TrackThing.find_by_existing_track(@user, track_thing)
    end
%>

<% if own_request %> 
    <p><%= _('This is your own request, so you will be automatically emailed when new responses arrive.')%></p>
<% elsif existing_track %> 
    <p><%= track_thing.params[:verb_on_page_already] %></p>
    <div class="feed_link feed_link_<%=location%>">
	<%= link_to "Unsubscribe", {:controller => 'track', :action => 'update', :track_id => existing_track.id, :track_medium => "delete", :r => request.request_uri}, :class => "link_button_green" %>
    </div>
<% elsif track_thing %>
    <div class="feed_link feed_link_<%=location%>">
     <% if defined? follower_count && follower_count > 0 %>
        <%= link_to _("I like this request"), do_track_url(track_thing), :class => "link_button_green" %>
     <% else %>
        <%= link_to _("Follow"), do_track_url(track_thing), :class => "link_button_green" %>
     <% end %>
    </div>
    
    <div class="feed_link feed_link_<%=location%>">
        <%= link_to '<img src="/images/feed-16.png" alt="">', do_track_url(track_thing, 'feed') %> 
        <%= link_to (location == 'sidebar' ? _('RSS feed of updates') : _('RSS feed')),  do_track_url(track_thing, 'feed') %>
    </div>
<% end %>


<commit_msg>Mark up "Unsubscribe" text for translation.<commit_after><%
    if @user
        existing_track = TrackThing.find_by_existing_track(@user, track_thing)
    end
%>

<% if own_request %>
    <p><%= _('This is your own request, so you will be automatically emailed when new responses arrive.')%></p>
<% elsif existing_track %>
    <p><%= track_thing.params[:verb_on_page_already] %></p>
    <div class="feed_link feed_link_<%=location%>">
  <%= link_to _("Unsubscribe"), {:controller => 'track', :action => 'update', :track_id => existing_track.id, :track_medium => "delete", :r => request.request_uri}, :class => "link_button_green" %>
    </div>
<% elsif track_thing %>
    <div class="feed_link feed_link_<%=location%>">
     <% if defined? follower_count && follower_count > 0 %>
        <%= link_to _("I like this request"), do_track_url(track_thing), :class => "link_button_green" %>
     <% else %>
        <%= link_to _("Follow"), do_track_url(track_thing), :class => "link_button_green" %>
     <% end %>
    </div>

    <div class="feed_link feed_link_<%=location%>">
        <%= link_to '<img src="/images/feed-16.png" alt="">', do_track_url(track_thing, 'feed') %>
        <%= link_to (location == 'sidebar' ? _('RSS feed of updates') : _('RSS feed')),  do_track_url(track_thing, 'feed') %>
    </div>
<% end %>



{'fraction_non_alphanumeric': 0.18976708667430317, 'fraction_numerical': 0.002290950744558992, 'mean_word_length': 4.087378640776699, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1196772', 'n_tokens_mistral': 968, 'n_tokens_neox': 889, 'n_words': 197}