update foreign repo text in detail page
change ordering of foreign repo text in detail page