#4167 Fix the UI when showing git tags as releases
Merged 5 years ago by pingou. Opened 5 years ago by pingou.

@@ -112,7 +112,7 @@ 

                           name='%s-%s' % (repo.name, tag['tagname']))

                        }}" target="_blank" rel="noopener noreferrer">

                        {{repo.name}}-{{ tag['tagname'] }}.zip

-                       </span>

+                       </a>

                      </ul>

                      <ul>

                        <a href="{{
@@ -124,7 +124,7 @@ 

                           name='%s-%s' % (repo.name, tag['tagname']))

                        }}" target="_blank" rel="noopener noreferrer">

                        {{repo.name}}-{{ tag['tagname'] }}.tar.gz

-                       </span>

+                       </a>

                      </ul>

                    </li>

                  </div>
@@ -135,8 +135,7 @@ 

          </div>

          {% if tag['body_msg'] %}

          <div style="white-space:pre-wrap;">

-           {{ tag['body_msg'] }}

-         </div>

+ {{ tag['body_msg'] }}</div>

          {% endif %}

        </div>

      {% endfor %}

The link to the tarballs were not properly closed.
The body of the message associated with the tags was shown indented
while there is no reason to.

Fixes https://pagure.io/pagure/issue/4166

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Thanks for the review :)

Pull-Request has been merged by pingou

5 years ago